コンテンツにスキップ
JP

Get all assets

GET
/assets

Returns all public assets in the project by default, and returns a paginated page response when pagination parameters are provided.

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

Successful response. The structure varies per project and model. Field keys are defined by the model schema in Re:Earth CMS.

object

API key is invalid

No assets found