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

{
    "id": 185,
    "url": "https://lldev.thespacedevs.com/2.0.0/astronaut/185/?format=api",
    "name": "Liu Yang",
    "status": {
        "id": 1,
        "name": "Active"
    },
    "type": {
        "id": 2,
        "name": "Government"
    },
    "agency": {
        "id": 17,
        "url": "https://lldev.thespacedevs.com/2.0.0/agencies/17/?format=api",
        "name": "China National Space Administration",
        "type": "Government"
    },
    "date_of_birth": "1978-10-06",
    "date_of_death": null,
    "nationality": "Chinese",
    "twitter": null,
    "instagram": null,
    "bio": "Liu Yang (born October 6, 1978) is a Chinese pilot and astronaut who served as a crew member on the space mission Shenzhou 9. On June 16, 2012, Liu became the first Chinese woman in space.",
    "profile_image": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/liu_yang_image_20220604084749.png",
    "profile_image_thumbnail": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/255bauto255d__image_thumbnail_20240305191027.png",
    "wiki": "https://en.wikipedia.org/wiki/Liu_Yang_(astronaut)",
    "flights": [],
    "landings": [],
    "last_flight": "2022-06-05T02:44:10Z",
    "first_flight": "2012-06-16T10:37:24Z"
}