コンテンツにスキップ
JP

Get all items (GeoJSON)

GET
/{model}.geojson

Returns all published items from the specified model by default, and returns a paginated page response when pagination parameters are provided (GeoJSON endpoint). Requires the model to have a Geometry type field defined. Uses the first (based on the order) Geometry type field in the model schema fields.

model
required
string

Model ID or key

page
integer

Page number for page-based pagination. Values of 0 or less are treated as 1. Ignored if start_cursor or offset is also provided (pagination mode precedence: start_cursor > offset > page).

limit
integer
default: 50 <= 100

Number of items per page. Applies to all pagination modes (page, offset, and cursor). Also accepted under the aliases perPage, per_page, page_size, and pageSize; if several are provided, they are checked in that order of precedence, starting with limit. Values above 100 are clamped to 100; values of 0 or less fall back to the default of 50.

offset
integer

Number of items to skip (offset-based pagination). Takes precedence over page; ignored if start_cursor is also provided.

start_cursor
string

Cursor for cursor-based pagination. Takes precedence over offset and page when provided.

Successful response

object
type
string
Example
FeatureCollection
features
Array<object>
object

API key is invalid

Model not found or not public