API endpoint that allows Astronaut to be viewed.

GET: Return a list of all the existing astronauts.

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

FILTERS: Parameters - 'name', 'status', 'nationality', 'agency__name', 'agency__abbrev', 'date_of_birth', 'date_of_death', 'status_ids', 'is_human', 'type__id', 'has_flown', 'in_space' Example - /2.2.0/astronaut/?nationality=American

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

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

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

{
    "id": 25,
    "url": "https://lldev.thespacedevs.com/2.2.0/astronaut/25/?format=api",
    "name": "John Glenn",
    "status": {
        "id": 11,
        "name": "Deceased"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "in_space": false,
    "time_in_space": "P9DT2H39M47S",
    "eva_time": "P0D",
    "agency": {
        "id": 44,
        "url": "https://lldev.thespacedevs.com/2.2.0/agencies/44/?format=api",
        "name": "National Aeronautics and Space Administration",
        "type": "Government"
    },
    "age": 95,
    "date_of_birth": "1921-07-18",
    "date_of_death": "2016-12-08",
    "nationality": "American",
    "twitter": null,
    "instagram": null,
    "bio": "Colonel John Herschel Glenn Jr. was a United States Marine Corps aviator, engineer, astronaut, businessman, and politician. He was the first American to orbit the Earth, circling it three times in 1962. Following his retirement from NASA, he served from 1974 to 1999 as a Democratic United States Senator from Ohio.",
    "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/john2520glenn_image_20181128141704.jpg",
    "profile_image_thumbnail": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190045.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/John_Glenn",
    "flights": [],
    "landings": [],
    "flights_count": 2,
    "landings_count": 2,
    "spacewalks_count": 0,
    "last_flight": "1998-10-29T19:19:34Z",
    "first_flight": "1962-02-20T14:47:39Z",
    "spacewalks": []
}