API endpoint that allows Astronaut to be viewed.

GET:
Return a list of all the existing astronauts.

MODE:
Normal, List, LaunchList and Detailed
/2.0.0/astronaut/?mode=detailed

FILTERS:
Parameters - 'name', 'status', 'nationality', 'agency__name', 'agency__abbrev', 'date_of_birth',
'date_of_death', 'status_ids'
Example - /2.0.0/astronaut/?nationality=American

SEARCH EXAMPLE:
/2.0.0/astronaut/?search=armstrong
Searches through name, nationality and agency name

ORDERING:
Fields - 'name', 'status', 'date_of_birth'
Example - /2.0.0/astronaut/?order=name

GET /2.0.0/astronaut/638/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 638,
    "url": "https://ll.thespacedevs.com/2.0.0/astronaut/638/?format=api",
    "name": "Starman",
    "status": {
        "id": 1,
        "name": "Active"
    },
    "type": {
        "id": 6,
        "name": "Non-Human"
    },
    "agency": {
        "id": 121,
        "url": "https://ll.thespacedevs.com/2.0.0/agencies/121/?format=api",
        "name": "SpaceX",
        "type": "Commercial"
    },
    "date_of_birth": null,
    "date_of_death": null,
    "nationality": "Earthling",
    "twitter": "https://twitter.com/Tesla_Starman",
    "instagram": "https://www.instagram.com/starman_by_spacex/",
    "bio": "\"Starman\" is a mannequin dressed in a spacesuit occupying the driver's seat of Elon Musk's Tesla Roadster, launched to an heliocentric orbit on Falcon Heavy's inaugural launch.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/starman_image_20190307220126.jpg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190247.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Elon_Musk%27s_Tesla_Roadster",
    "flights": [
        {
            "id": "598af929-31d4-4544-ad77-e0b6f9c8f460",
            "url": "https://ll.thespacedevs.com/2.0.0/launch/598af929-31d4-4544-ad77-e0b6f9c8f460/?format=api",
            "launch_library_id": 864,
            "slug": "falcon-heavy-demo-test-flight",
            "name": "Falcon Heavy | Demo (Test Flight)",
            "status": {
                "id": 3,
                "name": "Success"
            },
            "net": "2018-02-06T20:45:00Z",
            "window_end": "2018-02-06T21:00:00Z",
            "window_start": "2018-02-06T18:30:00Z",
            "inhold": false,
            "tbdtime": false,
            "tbddate": false,
            "probability": 90,
            "holdreason": "",
            "failreason": "",
            "hashtag": null,
            "launch_service_provider": {
                "id": 121,
                "url": "https://ll.thespacedevs.com/2.0.0/agencies/121/?format=api",
                "name": "SpaceX",
                "type": "Commercial"
            },
            "rocket": {
                "id": 2076,
                "configuration": {
                    "id": 161,
                    "launch_library_id": 58,
                    "url": "https://ll.thespacedevs.com/2.0.0/config/launcher/161/?format=api",
                    "name": "Falcon Heavy",
                    "family": "Falcon",
                    "full_name": "Falcon Heavy",
                    "variant": "Heavy"
                }
            },
            "mission": {
                "id": 490,
                "launch_library_id": 628,
                "name": "Demo Flight 1 (Maiden Flight)",
                "description": "This will be the inaugural flight of the Falcon Heavy. The test payload will be SpaceX CEO Elon Musk's midnight cherry Tesla Roadster playing Space Oddity. Destination: An elliptical, heliocentric orbit. Apoapsis: Around Mars' orbital distance.",
                "launch_designator": null,
                "type": "Test Flight",
                "orbit": {
                    "id": 6,
                    "name": "Heliocentric N/A",
                    "abbrev": "Helio-N/A"
                }
            },
            "pad": {
                "id": 87,
                "url": "https://ll.thespacedevs.com/2.0.0/pad/87/?format=api",
                "agency_id": 121,
                "name": "Launch Complex 39A",
                "info_url": null,
                "wiki_url": "https://en.wikipedia.org/wiki/Kennedy_Space_Center_Launch_Complex_39#Launch_Pad_39A",
                "map_url": "https://www.google.com/maps?q=28.60822681,-80.60428186",
                "latitude": "28.60822681",
                "longitude": "-80.60428186",
                "location": {
                    "id": 27,
                    "url": "https://ll.thespacedevs.com/2.0.0/location/27/?format=api",
                    "name": "Kennedy Space Center, FL, USA",
                    "country_code": "USA",
                    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_27_20200803142447.jpg",
                    "total_launch_count": 237,
                    "total_landing_count": 0
                },
                "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_87_20200803143537.jpg",
                "total_launch_count": 179
            },
            "webcast_live": false,
            "image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/falcon2520heav_image_20230723154051.jpeg",
            "infographic": null,
            "program": []
        }
    ],
    "landings": [],
    "last_flight": "2018-02-06T20:45:00Z",
    "first_flight": "2018-02-06T20:45:00Z"
}