metaobjectDefinition - admin-graphql - QUERY
Version: unstable
Description:
Retrieves a metaobject definition by ID.
Access Scopes
`read_metaobject_definitions` access scope.
Arguments
-
id:
ID! -
The ID of the metaobject to return.
Returns
-
access:
MetaobjectAccess!
Access configuration for the metaobject definition.
-
capabilities:
MetaobjectCapabilities!
The capabilities of the metaobject definition.
-
createdAt:
DateTime!
The date and time when the metaobject definition was created.
-
createdByApp:
App!
The app used to create the metaobject definition.
-
createdByStaff:
StaffMember
The staff member who created the metaobject definition.
-
description:
String
The administrative description.
-
displayNameKey:
String
The key of a field to reference as the display name for each object.
-
fieldDefinitions:
MetaobjectFieldDefinition!
The fields defined for this object type.
-
hasThumbnailField:
Boolean!
Whether this metaobject definition has field whose type can visually represent a metaobject with the `thumbnailField`.
-
id:
ID!
A globally-unique ID.
-
metaobjectsCount:
Int!
The count of metaobjects created for the definition.
-
name:
String!
The human-readable name.
-
standardTemplate:
StandardMetaobjectDefinitionTemplate
The standard metaobject template associated with the definition.
-
type:
String!
The type of the object definition. Defines the namespace of associated metafields.
-
updatedAt:
DateTime!
The date and time when the metaobject definition was last updated.
Examples