Number of results

Use limit to control the number of objects in the response (max 100)

Example - /config/astronaut_roles/?limit=2

Format

Switch to JSON output - /config/astronaut_roles/?format=json

Help

Find all the FAQs and support links on the documentation homepage - lldev.thespacedevs.com/docs

GET /2.3.0/config/astronaut_roles/?format=api&ordering=role
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "count": 35,
    "next": "https://lldev.thespacedevs.com/2.3.0/config/astronaut_roles/?format=api&limit=10&offset=10&ordering=role",
    "previous": null,
    "results": [
        {
            "id": 30,
            "role": "Actress",
            "priority": 7
        },
        {
            "id": 19,
            "role": "Anthropomorphic Test Device",
            "priority": 9
        },
        {
            "id": 1,
            "role": "Commander",
            "priority": 0
        },
        {
            "id": 5,
            "role": "Command Module Pilot",
            "priority": 1
        },
        {
            "id": 4,
            "role": "Command Pilot",
            "priority": 1
        },
        {
            "id": 23,
            "role": "Descent module monitor astronaut",
            "priority": 2
        },
        {
            "id": 18,
            "role": "Docking Module Pilot",
            "priority": 2
        },
        {
            "id": 16,
            "role": "Engineer",
            "priority": 3
        },
        {
            "id": 33,
            "role": "EV1",
            "priority": 0
        },
        {
            "id": 34,
            "role": "EV2",
            "priority": 1
        }
    ]
}