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/0ffd7efb-7577-4aab-99da-fd1f6f4606c2/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "0ffd7efb-7577-4aab-99da-fd1f6f4606c2",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/0ffd7efb-7577-4aab-99da-fd1f6f4606c2/?format=api",
    "launch_library_id": null,
    "slug": "ariane-6-envision",
    "name": "Ariane 6 | EnVision",
    "status": {
        "id": 2,
        "name": "TBD"
    },
    "net": "2031-12-31T00:00:00Z",
    "window_end": "2031-12-31T00:00:00Z",
    "window_start": "2031-12-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": 8180,
        "configuration": {
            "id": 506,
            "launch_library_id": null,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/506/?format=api",
            "name": "Ariane 6",
            "description": "Ariane 6 (unknown variant)",
            "family": "Ariane 6",
            "full_name": "Ariane 6",
            "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": "N/A",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 63.0,
            "diameter": 5.4,
            "maiden_flight": null,
            "launch_mass": null,
            "leo_capacity": 21650,
            "gto_capacity": 11500,
            "to_thrust": null,
            "apogee": null,
            "vehicle_range": null,
            "image_url": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/ariane_6_image_20240125142128.jpeg",
            "info_url": null,
            "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": 2
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 6747,
        "launch_library_id": null,
        "name": "EnVision",
        "description": "European Space Agency mission to study Venus' atmosphere, geological activity, and climate.",
        "launch_designator": null,
        "type": "Planetary Science",
        "orbit": {
            "id": 20,
            "name": "Venus Orbit",
            "abbrev": "Venus"
        }
    },
    "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": 6998,
    "location_launch_attempt_count": 365,
    "pad_launch_attempt_count": 17,
    "agency_launch_attempt_count": 358,
    "orbital_launch_attempt_count_year": 3,
    "location_launch_attempt_count_year": 1,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 1
}