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

{
  "id": 56,
  "url": "https://lldev.thespacedevs.com/2.0.0/astronaut/56/?format=api",
  "name": "Viktor Afanasyev",
  "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": "1948-12-31",
  "date_of_death": null,
  "nationality": "Russian",
  "twitter": null,
  "instagram": null,
  "bio": "Viktor Mikhailovich Afanasyev Russian: Виктор Михайлович Афанасьев; born 31 December 1948) is a colonel in the Russian Air Force and a test cosmonaut of the Yu. A. Gagarin Cosmonaut Training Center.",
  "profile_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/viktor2520afanasyev_image_20181128215901.jpeg",
  "profile_image_thumbnail": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190036.jpeg",
  "wiki": "https://en.wikipedia.org/wiki/Viktor_Afanasyev_(cosmonaut)",
  "flights": [],
  "landings": [],
  "last_flight": "2001-10-21T08:59:35Z",
  "first_flight": "1990-12-02T08:13:32Z"
}