v1

latestOpenAPI 3.0.02026-08-06194226589.8 KB
Contents

Queries contents.

You can read the generated documentation for your app at /api/content/{appName}/docs.

post/api/content/{app}/{schema}/query

Path parameters

appstring required

The name of the app.

schemastring required

The name of the schema.

Headers

X-Fieldsstring

The list of content fields (comma-separated).

X-Flattenboolean

Provide the data as flat object.

X-Languagesstring

The list of languages to resolve (comma-separated).

X-NoSlowTotalboolean

Do not return the total amount, if it would be slow.

X-NoTotalboolean

Do not return the total amount.

X-Unpublishedboolean

Return unpublished content items.

Request body

idsstring[] nullable

The optional list of ids to query.

oDatastring nullable

The optional odata query.

{"stackTrail":"components:schemas:QueryDto:properties:q","oasType":"schema","type":"unknown","description":"The optional json query.","nullable":true}
parentIdstring nullable

The parent id (for assets).

Response

Contents returned.

_linksobject required

The links.

totalinteger required

The total number of content items.