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 - ll.thespacedevs.com/docs

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

{
    "count": 35,
    "next": "https://ll.thespacedevs.com/2.3.0/config/astronaut_roles/?format=api&limit=10&offset=30&ordering=id",
    "previous": "https://ll.thespacedevs.com/2.3.0/config/astronaut_roles/?format=api&limit=10&offset=10&ordering=id",
    "results": [
        {
            "id": 22,
            "role": "Orbital module astronaut",
            "priority": 1
        },
        {
            "id": 23,
            "role": "Descent module monitor astronaut",
            "priority": 2
        },
        {
            "id": 24,
            "role": "Spacecraft Commander",
            "priority": 1
        },
        {
            "id": 25,
            "role": "Joint Operations Commander",
            "priority": 1
        },
        {
            "id": 26,
            "role": "Flight Surgeon",
            "priority": 5
        },
        {
            "id": 27,
            "role": "Senior Pilot",
            "priority": 1
        },
        {
            "id": 28,
            "role": "Tourist",
            "priority": 7
        },
        {
            "id": 29,
            "role": "Filmmaker",
            "priority": 7
        },
        {
            "id": 30,
            "role": "Actress",
            "priority": 7
        },
        {
            "id": 31,
            "role": "Passenger",
            "priority": 7
        }
    ]
}