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

{
    "id": 666,
    "url": "https://lldev.thespacedevs.com/2.0.0/astronaut/666/?format=api",
    "name": "Ye Guangfu",
    "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": "1980-09-01",
    "date_of_death": null,
    "nationality": "Chinese",
    "twitter": null,
    "instagram": null,
    "bio": "Chinese astronaut Ye Guangfu was born in 1980 in the Sichuan province of China. He is an air force pilot and spent four years as an instructor and four years as a jet fighter pilot amassing 1100 hours of flight time. Ye was recruited as an astronaut trainee for China’s Astronaut Center in 2010 and qualified in 2014.\r\n\r\nBirth day unkown.",
    "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/ye_guangfu_image_20211014075904.jpg",
    "profile_image_thumbnail": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190809.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Ye_Guangfu",
    "flights": [],
    "landings": [],
    "last_flight": "2024-04-25T12:59:00Z",
    "first_flight": "2021-10-15T16:23:56Z"
}