API endpoint that returns all Launch objects or a single launch.

EXAMPLE - /launch/<id>/ or /launch/?mode=list&search=SpaceX

GET:
Return a list of all Launch objects.

FILTERS:
Fields - 'name', 'id(s)', 'lsp_id', 'lsp_name', 'serial_number', 'launcher_config__id',
'rocket__spacecraftflight__spacecraft__name'

MODE:
'normal', 'list', 'detailed'
EXAMPLE: ?mode=list

SEARCH:
Searches through the launch name, rocket name, launch agency, mission name & spacecraft name.
EXAMPLE - ?search=SpaceX

GET /2.0.0/launch/7aace903-6d9b-4905-87dc-58736ab0d01e/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "7aace903-6d9b-4905-87dc-58736ab0d01e",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/7aace903-6d9b-4905-87dc-58736ab0d01e/?format=api",
    "launch_library_id": null,
    "slug": "ariane-62-metop-sg-b2",
    "name": "Ariane 62 | Metop-SG B2",
    "status": {
        "id": 2,
        "name": "TBD"
    },
    "net": "2033-03-31T00:00:00Z",
    "window_end": "2033-03-31T00:00:00Z",
    "window_start": "2033-03-31T00:00:00Z",
    "inhold": false,
    "tbdtime": true,
    "tbddate": true,
    "probability": null,
    "holdreason": "",
    "failreason": "",
    "hashtag": null,
    "launch_service_provider": {
        "id": 115,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/115/?format=api",
        "name": "Arianespace",
        "featured": true,
        "type": "Commercial",
        "country_code": "FRA",
        "abbrev": "ASA",
        "description": "Arianespace SA is a multinational company founded in 1980 as the world's first commercial launch service provider. It undertakes the production, operation, and marketing of the Ariane programme. Their vehicles launch exclusively from French Guiana in South America.",
        "administrator": "CEO: Stéphane Israël",
        "founding_year": "1980",
        "launchers": "Ariane | Vega",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 315,
        "consecutive_successful_launches": 3,
        "successful_launches": 300,
        "failed_launches": 15,
        "pending_launches": 51,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": "http://www.arianespace.com",
        "wiki_url": "http://en.wikipedia.org/wiki/Arianespace",
        "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/arianespace_logo_20210603173752.png",
        "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/arianespace_image_20190207032425.jpeg",
        "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/arianespace_nation_20230530190314.jpg"
    },
    "rocket": {
        "id": 7708,
        "configuration": {
            "id": 121,
            "launch_library_id": 164,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/121/?format=api",
            "name": "Ariane 62",
            "description": "The Ariane 6 family is currently under development by the European Space Agency, with two variations including the Ariane 62 with two solid boosters intended for government and scientific missions.",
            "family": "Ariane 6",
            "full_name": "Ariane 62",
            "manufacturer": {
                "id": 1044,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/1044/?format=api",
                "name": "ArianeGroup",
                "featured": false,
                "type": "Commercial",
                "country_code": "FRA",
                "abbrev": "AG",
                "description": "ArianeGroup (formerly Airbus Safran Launchers) is an aerospace company based in France. A joint venture between Airbus and Safran, the company was founded in 2015 and is headquartered in Issy-les-Moulineaux. It consists of three core arms: aerospace, defence and security.",
                "administrator": "CEO: André-Hubert Roussel",
                "founding_year": "2015",
                "launchers": "Ariane",
                "spacecraft": "",
                "launch_library_url": null,
                "total_launch_count": 0,
                "consecutive_successful_launches": 0,
                "successful_launches": 0,
                "failed_launches": 0,
                "pending_launches": 0,
                "consecutive_successful_landings": 0,
                "successful_landings": 0,
                "failed_landings": 0,
                "attempted_landings": 0,
                "info_url": "https://www.ariane.group/",
                "wiki_url": "https://en.wikipedia.org/wiki/ArianeGroup",
                "logo_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/arianegroup_logo_20221130111224.PNG",
                "image_url": null,
                "nation_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/arianegroup_nation_20230802053255.jpg"
            },
            "program": [],
            "variant": "62",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 63.0,
            "diameter": 5.4,
            "maiden_flight": null,
            "launch_mass": 530,
            "leo_capacity": 10350,
            "gto_capacity": 5000,
            "to_thrust": 10370,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/ariane252062_image_20190224012339.jpeg",
            "info_url": "http://www.arianespace.com/wp-content/uploads/2017/02/Ariane6_Users-Manual_February2017.pdf",
            "wiki_url": "https://en.wikipedia.org/wiki/Ariane_6",
            "total_launch_count": 0,
            "consecutive_successful_launches": 0,
            "successful_launches": 0,
            "failed_launches": 0,
            "pending_launches": 11
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 6226,
        "launch_library_id": null,
        "name": "Metop-SG B2",
        "description": "Fourth of EUMETSAT's second generation of Metop weather satellites.",
        "launch_designator": null,
        "type": "Earth Science",
        "orbit": {
            "id": 17,
            "name": "Sun-Synchronous Orbit",
            "abbrev": "SSO"
        }
    },
    "pad": {
        "id": 67,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/67/?format=api",
        "agency_id": 115,
        "name": "Ariane Launch Area 4",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Guiana_Space_Centre",
        "map_url": "https://www.google.com/maps?q=5.256319,-52.786838",
        "latitude": "5.256319",
        "longitude": "-52.786838",
        "location": {
            "id": 13,
            "url": "https://ll.thespacedevs.com/2.0.0/location/13/?format=api",
            "name": "Guiana Space Centre, French Guiana",
            "country_code": "GUF",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_13_20200803142412.jpg",
            "total_launch_count": 320,
            "total_landing_count": 0
        },
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_67_20200803143559.jpg",
        "total_launch_count": 0
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/ariane252062_image_20190224012339.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 7001,
    "location_launch_attempt_count": 368,
    "pad_launch_attempt_count": 20,
    "agency_launch_attempt_count": 361,
    "orbital_launch_attempt_count_year": 2,
    "location_launch_attempt_count_year": 2,
    "pad_launch_attempt_count_year": 2,
    "agency_launch_attempt_count_year": 2
}