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

{
  "id": 688,
  "url": "https://lldev.thespacedevs.com/2.0.0/astronaut/688/?format=api",
  "name": "Colin Bennett",
  "status": {
    "id": 1,
    "name": "Active"
  },
  "type": {
    "id": 3,
    "name": "Private"
  },
  "agency": {
    "id": 1024,
    "url": "https://lldev.thespacedevs.com/2.0.0/agencies/1024/?format=api",
    "name": "Virgin Galactic",
    "type": "Private"
  },
  "date_of_birth": null,
  "date_of_death": null,
  "nationality": "American",
  "twitter": null,
  "instagram": null,
  "bio": "Colin Bennett is an American engineer who worked at Virgin Atlantic Airways before joining Virgin Galactic in 2015 where he now acts as Lead Astronaut Instructor.",
  "profile_image": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/colin_bennett_image_20230626124901.png",
  "profile_image_thumbnail": "https://thespacedevs-dev.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305185743.png",
  "wiki": null,
  "flights": [],
  "landings": [],
  "last_flight": "2023-11-02T15:44:00Z",
  "first_flight": "2021-07-11T15:25:30Z"
}