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

{
    "id": 746,
    "url": "https://ll.thespacedevs.com/2.2.0/astronaut/746/?format=api",
    "name": "John McFall",
    "status": {
        "id": 3,
        "name": "In-Training"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "in_space": false,
    "time_in_space": "P0D",
    "eva_time": "P0D",
    "agency": {
        "id": 27,
        "url": "https://ll.thespacedevs.com/2.2.0/agencies/27/?format=api",
        "name": "European Space Agency",
        "type": "Multinational"
    },
    "age": 43,
    "date_of_birth": "1981-04-25",
    "date_of_death": null,
    "nationality": "British",
    "twitter": "https://twitter.com/iamfivetoes",
    "instagram": "https://www.instagram.com/mrjohnmcfall/",
    "bio": "John has a background in sports and exercise science. He completed his bachelor’s degree from Swansea University, UK, in 2004, and his master’s degree from University of Wales Institute in Cardiff, UK, in 2005. \r\nIn 2014, John graduated with a Bachelor of Medicine and Surgery from the Cardiff University School of Medicine, UK. He became a member of the Royal College of Surgeons in 2016 and is currently a Trauma and Orthopaedic Specialist Registrar working in the south of England.\r\nFollowing a motorcycle accident that resulted in the amputation of his right leg at the age of 19, John learned to run again. He became a professional track and field athlete in 2005, going on to represent Great Britain and Northern Ireland as a Paralympic sprinter, class T42.",
    "profile_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/john_mcfall_image_20221123150741.jpg",
    "profile_image_thumbnail": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190512.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/John_McFall_(athlete)",
    "flights": [],
    "landings": [],
    "flights_count": 0,
    "landings_count": 0,
    "spacewalks_count": 0,
    "last_flight": null,
    "first_flight": null,
    "spacewalks": []
}