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

{
  "id": 77,
  "url": "https://lldev.thespacedevs.com/2.0.0/astronaut/77/?format=api",
  "name": "Pavel Belyayev",
  "status": {
    "id": 11,
    "name": "Deceased"
  },
  "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": "1925-06-26",
  "date_of_death": "1970-01-10",
  "nationality": "Russian",
  "twitter": null,
  "instagram": null,
  "bio": "Pavel Ivanovich Belyayev (Russian: Павел Иванович Беляев; 26 June 1925 – 10 January 1970), was a Soviet fighter pilot with extensive experience in piloting different types of aircraft. He was the first commander of the cosmonaut corps and the cosmonaut who commanded the historic Voskhod 2 mission which saw the first man walk in space in 1965.",
  "profile_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/pavel2520belyayev_image_20181128223003.jpg",
  "profile_image_thumbnail": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305190443.jpeg",
  "wiki": "https://en.wikipedia.org/wiki/Pavel_Belyayev",
  "flights": [],
  "landings": [],
  "last_flight": "1965-03-18T07:00:00Z",
  "first_flight": "1965-03-18T07:00:00Z"
}