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/401/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 401,
    "url": "https://ll.thespacedevs.com/2.2.0/astronaut/401/?format=api",
    "name": "Stephen Thorne",
    "status": {
        "id": 6,
        "name": "Died While In Active Service"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "in_space": false,
    "time_in_space": "P0D",
    "eva_time": "P0D",
    "agency": {
        "id": 44,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/44/?format=api",
        "name": "National Aeronautics and Space Administration",
        "type": "Government"
    },
    "age": 33,
    "date_of_birth": "1953-02-11",
    "date_of_death": "1986-05-24",
    "nationality": "American",
    "twitter": null,
    "instagram": null,
    "bio": "Stephen Douglas Thorne was an American naval officer and aviator, test pilot and a NASA astronaut candidate.\r\n\r\nHe was born on February 11, 1953, in Frankfurt, West Germany, and graduated from the U.S. Naval Academy in 1975. He was a Navy fighter pilot from 1976 until he became a test pilot in 1981.\r\n\r\nHe was accepted for NASA astronaut training in June 1985, but died in an airplane accident where he was a passenger on May 24, 1986.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/stephen2520thorne_image_20181202135603.jpg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185814.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Stephen_Thorne_(astronaut)",
    "flights": [],
    "landings": [],
    "flights_count": 0,
    "landings_count": 0,
    "spacewalks_count": 0,
    "last_flight": null,
    "first_flight": null,
    "spacewalks": []
}