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

{
    "id": 297,
    "url": "https://lldev.thespacedevs.com/2.0.0/astronaut/297/?format=api",
    "name": "Zhang Xiaoguang",
    "status": {
        "id": 1,
        "name": "Active"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "agency": {
        "id": 17,
        "url": "https://lldev.thespacedevs.com/2.0.0/agencies/17/?format=api",
        "name": "China National Space Administration",
        "type": "Government"
    },
    "date_of_birth": "1966-05-01",
    "date_of_death": null,
    "nationality": "Chinese",
    "twitter": null,
    "instagram": null,
    "bio": "Zhang Xiaoguang is a Chinese pilot selected as part of the Shenzhou program.\r\n\r\nHe was born in May 1966 in Jinzhou, to a family of Manchu ethnicity and was a squadron commander in the People’s Liberation Army Air Force when he was selected to be an astronaut in 1998. He had accumulated 1000 flight-hours as of 2004. He was selected as part of the backup crew for the Shenzhou 9 mission. In 2013, he was selected to fly Shenzhou 10, the third spaceflight to the first Chinese space station Tiangong 1.",
    "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/zhang2520xiaoguang_image_20181201232412.jpg",
    "profile_image_thumbnail": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190829.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Zhang_Xiaoguang",
    "flights": [],
    "landings": [],
    "last_flight": "2013-06-11T09:38:02Z",
    "first_flight": "2013-06-11T09:38:02Z"
}