Number of results

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

Example - /config/celestial_body_types/?limit=2

Format

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

Help

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

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

{
    "count": 3,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": 1,
            "name": "Planet"
        },
        {
            "id": 2,
            "name": "Moon"
        },
        {
            "id": 3,
            "name": "Asteroid"
        }
    ]
}