Skip to content

List metaobjects by type

View as Markdown
get /api/metaobject_definitions/{type}/metaobjects

Retrieves the collection of Metaobject resources.

Returns every metaobject belonging to one definition, identified by its type slug - for example all size_guide records.

Headers

NameTypeRequiredDescription
Flowkiwi-Localestring-Specifies the locale for properties that support localization. If not provided, the default locale will be used.

Path parameters

NameTypeRequiredDescription
typestringrequiredThe metaobject definition type slug whose metaobject records to list.

Query parameters

NameTypeRequiredDescription
pageinteger-The collection page number
itemsPerPageinteger-The number of items per page
properties[]string[]-Allows you to reduce the response to contain only the properties you need. If your desired property is nested, you can address it using nested arrays. Example: properties[]={propertyName}&properties[]={anotherPropertyName}&properties[{nestedPropertyParent}][]={nestedProperty}
id[]string[]-Only the items with one of these ids, each a UUID or the item IRI.
definitionstring-Filter by the related "definition", given as an IRI or as an identifier.
definition[]string[]-Filter by the related "definition", given as an IRI or as an identifier.
statusstring-Metaobject status
status[]string[]-Metaobject status
handlestring-Metaobject handle
handle[]string[]-Metaobject handle
fieldsobject-Filter entries by field value. Pairs are combined with AND; exact match against the translated value for the locale provided in Flowkiwi-Locale. The filter is silently skipped when the header is missing. Example: ?fields[name]=Jane%20Doe. For list-typed fields, pass the JSON-encoded array.

Response

200 - Metaobject collection

PropertyTypeRequiredDescription
searchobject-
Show search fields
PropertyTypeRequiredDescription
@typestring-
mappingobject[]-
Show mapping fields
PropertyTypeRequiredDescription
@typestring-
propertystring | null-
requiredboolean-
variablestring-
templatestring-
variableRepresentationstring-
totalItemsinteger-
viewobject-
Show view fields
PropertyTypeRequiredDescription
@idstring-
@typestring-
firststring | null-
laststring | null-
nextstring | null-
previousstring | null-
memberMetaobject[]required
Show member fields
PropertyTypeRequiredDescription
@contextstring | object-
@idstringrequired
@typestringrequired
definitionstring | null-The MetaobjectDefinition (IRI) this metaobject is a record of. Requires the metaobjects:read scope. Returned null when the scope is missing.
displayNamestring | null-The human-readable label, derived from the field named by the definition's displayNameField.
handlestring-The metaobject's unique slug within its definition type.
idstring-The resource's unique identifier (UUID).
status"DRAFT" | "ACTIVE"-The publication status of the metaobject.

Errors

403 - Access denied. The caller is missing one or more permissions required for this operation.

Content-Type: application/problem+json

PropertyTypeRequiredDescription
@contextstring | object-
@idstringrequired
@typestringrequired
detailstring-
missingPermissionsstring[]-Permissions that the caller is missing for this operation. Present only when the 403 is caused by a denied permission.
statusinteger-
titlestring-
typestring-