metaobjectDefinition - admin-graphql - QUERY
Version: 2024-10
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.
-
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.
-
type:
String!
The type of the object definition. Defines the namespace of associated metafields.
Examples