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": 20,
            "role": "Zero-G Indicator",
            "priority": 10
        },
        {
            "id": 28,
            "role": "Tourist",
            "priority": 7
        },
        {
            "id": 13,
            "role": "Test Engineer",
            "priority": 3
        },
        {
            "id": 21,
            "role": "Space Traveller",
            "priority": 9
        },
        {
            "id": 10,
            "role": "Spaceflight Participant",
            "priority": 6
        },
        {
            "id": 24,
            "role": "Spacecraft Commander",
            "priority": 1
        },
        {
            "id": 27,
            "role": "Senior Pilot",
            "priority": 1
        },
        {
            "id": 9,
            "role": "Science Pilot",
            "priority": 3
        },
        {
            "id": 14,
            "role": "Research Engineer",
            "priority": 3
        },
        {
            "id": 12,
            "role": "Research Doctor",
            "priority": 5
        }
    ]
}