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

{
    "id": 99,
    "url": "https://lldev.thespacedevs.com/2.0.0/astronaut/99/?format=api",
    "name": "Léopold Eyharts",
    "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": "1957-04-28",
    "date_of_death": null,
    "nationality": "French",
    "twitter": null,
    "instagram": null,
    "bio": "Léopold Eyharts (born April 28, 1957) is a French Brigadier General in the French Air Force, an engineer and ESA astronaut.",
    "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/l25c325a9opold2520eyharts_image_20181128230321.jpg",
    "profile_image_thumbnail": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185558.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/L%C3%A9opold_Eyharts",
    "flights": [],
    "landings": [],
    "last_flight": "2008-02-07T19:45:30Z",
    "first_flight": "1998-01-29T16:33:42Z"
}