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/5408eda7-a3cc-48d2-9a62-e77a3cf86bc1/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": "5408eda7-a3cc-48d2-9a62-e77a3cf86bc1",
    "url": "https://ll.thespacedevs.com/2.0.0/launch/5408eda7-a3cc-48d2-9a62-e77a3cf86bc1/?format=api",
    "launch_library_id": null,
    "slug": "thor-able-i-able-i-pioneer",
    "name": "Thor Able I | Able I (Pioneer)",
    "status": {
        "id": 4,
        "name": "Failure"
    },
    "net": "1958-08-17T12:18:00Z",
    "window_end": "1958-08-17T12:18:00Z",
    "window_start": "1958-08-17T12:18:00Z",
    "inhold": false,
    "tbdtime": false,
    "tbddate": false,
    "probability": null,
    "holdreason": "",
    "failreason": null,
    "hashtag": null,
    "launch_service_provider": {
        "id": 271,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/271/?format=api",
        "name": "Army Ballistic Missile Agency",
        "featured": false,
        "type": "Government",
        "country_code": "USA",
        "abbrev": "ABMA",
        "description": "The Army Ballistic Missile Agency was formed to develop the U.S. Army's first large ballistic missile. The agency was established at Redstone Arsenal on 1 February 1956, and commanded by Major General John B. Medaris with Wernher von Braun as technical director.",
        "administrator": null,
        "founding_year": null,
        "launchers": "",
        "spacecraft": "",
        "launch_library_url": null,
        "total_launch_count": 12,
        "consecutive_successful_launches": 0,
        "successful_launches": 5,
        "failed_launches": 7,
        "pending_launches": 0,
        "consecutive_successful_landings": 0,
        "successful_landings": 0,
        "failed_landings": 0,
        "attempted_landings": 0,
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Army_Ballistic_Missile_Agency",
        "logo_url": null,
        "image_url": null,
        "nation_url": null
    },
    "rocket": {
        "id": 3019,
        "configuration": {
            "id": 388,
            "launch_library_id": null,
            "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/388/?format=api",
            "name": "Thor Able I",
            "description": "American orbital launch vehicle. Thor with Able stage derived from Vanguard second stage.",
            "family": "Thor",
            "full_name": "Thor Able I",
            "manufacturer": {
                "id": 153,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/153/?format=api",
                "name": "McDonnell Douglas",
                "featured": false,
                "type": "Commercial",
                "country_code": "USA",
                "abbrev": "MDC",
                "description": null,
                "administrator": null,
                "founding_year": null,
                "launchers": "",
                "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": null,
                "wiki_url": "http://en.wikipedia.org/wiki/McDonnell_Douglas",
                "logo_url": null,
                "image_url": null,
                "nation_url": null
            },
            "program": [],
            "variant": "Able I",
            "alias": "",
            "min_stage": 2,
            "max_stage": 2,
            "length": 30.0,
            "diameter": 2.44,
            "maiden_flight": "1958-04-24",
            "launch_mass": 51,
            "leo_capacity": 120,
            "gto_capacity": null,
            "to_thrust": 667,
            "apogee": null,
            "vehicle_range": null,
            "image_url": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Thor-Able",
            "total_launch_count": 3,
            "consecutive_successful_launches": 0,
            "successful_launches": 1,
            "failed_launches": 2,
            "pending_launches": 0
        },
        "launcher_stage": [],
        "spacecraft_stage": null
    },
    "mission": {
        "id": 1441,
        "launch_library_id": null,
        "name": "Able I (Pioneer)",
        "description": "The first pioneer orbiter, pioneer 0 was a lunar orbiter intended to enter a lunar orbit for observation. However, the mission failed 77 seconds into launch.",
        "launch_designator": null,
        "type": "Lunar Exploration",
        "orbit": {
            "id": 11,
            "name": "Lunar Orbit",
            "abbrev": "LO"
        }
    },
    "pad": {
        "id": 14,
        "url": "https://ll.thespacedevs.com/2.0.0/pad/14/?format=api",
        "agency_id": null,
        "name": "Space Launch Complex 17A",
        "info_url": null,
        "wiki_url": "https://en.wikipedia.org/wiki/Cape_Canaveral_Space_Launch_Complex_17",
        "map_url": "https://www.google.com/maps?q=28.4472,-80.565",
        "latitude": "28.4472",
        "longitude": "-80.565",
        "location": {
            "id": 12,
            "url": "https://ll.thespacedevs.com/2.0.0/location/12/?format=api",
            "name": "Cape Canaveral, FL, USA",
            "country_code": "USA",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_12_20200803142519.jpg",
            "total_launch_count": 952,
            "total_landing_count": 51
        },
        "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_14_20200803143451.jpg",
        "total_launch_count": 145
    },
    "infoURLs": [],
    "vidURLs": [],
    "webcast_live": false,
    "image": null,
    "infographic": null,
    "program": [],
    "orbital_launch_attempt_count": 17,
    "location_launch_attempt_count": 11,
    "pad_launch_attempt_count": 1,
    "agency_launch_attempt_count": 5,
    "orbital_launch_attempt_count_year": 14,
    "location_launch_attempt_count_year": 10,
    "pad_launch_attempt_count_year": 1,
    "agency_launch_attempt_count_year": 5
}