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

{
    "id": 1,
    "url": "https://lldev.thespacedevs.com/2.0.0/astronaut/1/?format=api",
    "name": "Thomas Pesquet",
    "status": {
        "id": 1,
        "name": "Active"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "agency": {
        "id": 27,
        "url": "https://lldev.thespacedevs.com/2.0.0/agencies/27/?format=api",
        "name": "European Space Agency",
        "type": "Multinational"
    },
    "date_of_birth": "1978-02-27",
    "date_of_death": null,
    "nationality": "French",
    "twitter": "https://twitter.com/Thom_astro",
    "instagram": "https://instagram.com/thom_astro",
    "bio": "Thomas Gautier Pesquet is a French aerospace engineer, pilot, and European Space Agency astronaut. Pesquet was selected by ESA as a candidate in May 2009, and he successfully completed his basic training in November 2010. From November 2016 to June 2017, Pesquet was part of Expeditions 50 and 51 on the International Space Station as a flight engineer.",
    "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/thomas2520pesquet_image_20200102120546.jpeg",
    "profile_image_thumbnail": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190357.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Thomas_Pesquet",
    "flights": [],
    "landings": [],
    "last_flight": "2021-04-23T09:49:02Z",
    "first_flight": "2016-11-17T20:20:13Z"
}