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=10&ordering=-priority
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=20&ordering=-priority",
    "previous": "https://ll.thespacedevs.com/2.3.0/config/astronaut_roles/?format=api&limit=10&ordering=-priority",
    "results": [
        {
            "id": 17,
            "role": "Medical Doctor",
            "priority": 5
        },
        {
            "id": 26,
            "role": "Flight Surgeon",
            "priority": 5
        },
        {
            "id": 8,
            "role": "Payload Specialist",
            "priority": 4
        },
        {
            "id": 7,
            "role": "Mission Specialist",
            "priority": 4
        },
        {
            "id": 14,
            "role": "Research Engineer",
            "priority": 3
        },
        {
            "id": 16,
            "role": "Engineer",
            "priority": 3
        },
        {
            "id": 9,
            "role": "Science Pilot",
            "priority": 3
        },
        {
            "id": 13,
            "role": "Test Engineer",
            "priority": 3
        },
        {
            "id": 32,
            "role": "Operator",
            "priority": 2
        },
        {
            "id": 11,
            "role": "Research Cosmonaut",
            "priority": 2
        }
    ]
}