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/f2043f7f-3c12-4511-8869-823f298498c4/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "f2043f7f-3c12-4511-8869-823f298498c4",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/f2043f7f-3c12-4511-8869-823f298498c4/?format=api",
    "launch_library_id": null,
    "slug": "ariane-64-mtg-i4",
    "name": "Ariane 64 | MTG-I4",
    "status": {
        "id": 2,
        "name": "TBD"
    },
    "net": "2036-09-30T00:00:00Z",
    "window_end": "2036-09-30T00:00:00Z",
    "window_start": "2036-09-30T00: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": 7713,
        "configuration": {
            "id": 116,
            "launch_library_id": 165,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/116/?format=api",
            "name": "Ariane 64",
            "description": "The Ariane 6 family is currently under development by the European Space Agency, with two variations including the Ariane 64 with four solid boosters intended for government and scientific missions.",
            "family": "Ariane 6",
            "full_name": "Ariane 64",
            "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": "64",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 63.0,
            "diameter": 5.4,
            "maiden_flight": null,
            "launch_mass": 860,
            "leo_capacity": 21650,
            "gto_capacity": 11500,
            "to_thrust": 19370,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/ariane_6_image_20240125142128.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": 12
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 6231,
        "launch_library_id": null,
        "name": "MTG-I4",
        "description": "Sixth of EUMETSAT's third generation of weather satellite.",
        "launch_designator": null,
        "type": "Earth Science",
        "orbit": {
            "id": 2,
            "name": "Geostationary Transfer Orbit",
            "abbrev": "GTO"
        }
    },
    "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/ariane_6_image_20240125142128.jpeg",
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 7004,
    "location_launch_attempt_count": 371,
    "pad_launch_attempt_count": 23,
    "agency_launch_attempt_count": 364,
    "orbital_launch_attempt_count_year": 1,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1
}