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

{
    "id": 271,
    "url": "https://lldev.thespacedevs.com/2.0.0/astronaut/271/?format=api",
    "name": "Bjarni Tryggvason",
    "status": {
        "id": 11,
        "name": "Deceased"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "agency": {
        "id": 16,
        "url": "https://lldev.thespacedevs.com/2.0.0/agencies/16/?format=api",
        "name": "Canadian Space Agency",
        "type": "Government"
    },
    "date_of_birth": "1945-09-21",
    "date_of_death": "2022-04-06",
    "nationality": "Canadian",
    "twitter": null,
    "instagram": null,
    "bio": "Bjarni Valdimar Tryggvason (born September 21, 1945) is an Icelandic-born Canadian engineer and a former NRC/CSA astronaut. He served as a Payload Specialist on Space Shuttle mission STS-85 in 1997, a 12-day mission to study changes in the Earth's atmosphere.",
    "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/bjarni2520tryggvason_image_20181201223221.jpg",
    "profile_image_thumbnail": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190736.jpeg",
    "wiki": "https://en.wikipedia.org/wiki/Bjarni_Tryggvason",
    "flights": [],
    "landings": [],
    "last_flight": "1997-08-07T14:41:00Z",
    "first_flight": "1997-08-07T14:41:00Z"
}