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

{
    "id": 249,
    "url": "https://lldev.thespacedevs.com/2.0.0/astronaut/249/?format=api",
    "name": "Yuri Shargin",
    "status": {
        "id": 2,
        "name": "Retired"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "agency": {
        "id": 63,
        "url": "https://lldev.thespacedevs.com/2.0.0/agencies/63/?format=api",
        "name": "Russian Federal Space Agency (ROSCOSMOS)",
        "type": "Government"
    },
    "date_of_birth": "1960-03-20",
    "date_of_death": null,
    "nationality": "Russian",
    "twitter": null,
    "instagram": null,
    "bio": "Yuri Georgiyevich Shargin (Russian: Юрий Георгиевич Шаргин) is a retired cosmonaut of the Russian Space Forces.\r\nHe was selected as a cosmonaut on February 9, 1996.\r\n\r\nHe was selected in 2004, to be the flight engineer on the Soyuz TMA-5 mission to the International Space Station. Shargin was the first Russian military cosmonaut on board and had a secret mission.",
    "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/yuri2520shargin_image_20181201220241.jpg",
    "profile_image_thumbnail": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190618.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Yuri_Shargin",
    "flights": [],
    "landings": [],
    "last_flight": "2004-10-14T03:06:26Z",
    "first_flight": "2004-10-14T03:06:26Z"
}