Fumadocs

Get all planets

GET
/planets

It's easy to say you know them all, but do you really? Retrieve all the planets and check whether you missed one.

Query Parameters

limit?integer

The number of items to return

Formatint64
Default10
offset?integer

The number of items to skip before starting to collect the result set

Formatint64
Default0

Response Body

OK

  1. response

A generic paginated resource. Specializing schemas bind the item type by declaring a $dynamicAnchor named itemType, the JSON Schema 2020-12 way to express PaginatedResource<T>.

data?array<unknown>
meta?
Example Request
curl -X GET 'https://galaxy.scalar.com/planets'
Example Response200
{
  "data": [
    null
  ],
  "meta": {
    "limit": 10,
    "offset": 0,
    "total": 100,
    "next": "/planets?limit=10&offset=10"
  }
}