Content Type

Retrieves a list of content types

Returns a list of content type objects based on the filtering criteria.

get/api/v1/contenttype

Query parameters

filterstring

String to filter/search for specific content types; leave blank to return all.

pageinteger

Page number in response pagination.

Default: 1

per_pageinteger

Number of results per page for pagination.

Default: 10

orderbystring

Column(s) to sort the results. Multiple columns can be combined in a comma-separated list. Column names can also be set within a SQL string function, such as upper().

Some possible values:

name, velocity_var_name, mod_date, sort_order

description, structuretype, category, inode

direction'ASC' | 'DESC'

Sort direction: choose between ascending or descending.

typestring[]

Variable name of base content type.

hoststring

Filter by site identifier.

sitesstring

Multi-site filter: Takes comma-separated list of site identifiers or keys.

ensurestring

Guarantee Content Types to be included in the response: Comma-separated content type keys (e.g. activity, blog, product).

Response

Content types retrieved successfully

Changes

No recorded changes to this endpoint across all 1 revision of this API.