metaobjectDefinitionByType
Requires access scope.
Finds a metaobject definition by type.
Arguments
- Anchor to typetype•String!required
The type of the metaobject definition to return.
Anchor to Possible returnsPossible returns
- Anchor to MetaobjectDefinitionMetaobject•
Definition Provides the definition of a generic object structure composed of metafields.
- access•Metaobjectnon-null
Access! Access configuration for the metaobject definition.
- capabilities•Metaobjectnon-null
Capabilities! The capabilities of the metaobject definition.
- created
By •App App!non-null The app used to create the metaobject definition.
- created
By •Staff StaffMember The staff member who created the metaobject definition.
- description•String
The administrative description.
- display
Name •Key String The key of a field to reference as the display name for each object.
- field
Definitions •[Metaobjectnon-nullField Definition!]! The fields defined for this object type.
- has
Thumbnail •Field Boolean!non-null Whether this metaobject definition has field whose type can visually represent a metaobject with the
.
- id•ID!non-null
A globally-unique ID.
- metaobjects
• Metaobjectnon-nullConnection! A paginated connection to the metaobjects associated with the definition.
- metaobjects
Count •Int!non-null The count of metaobjects created for the definition.
- name•String!non-null
The human-readable name.
- type•String!non-null
The type of the object definition. Defines the namespace of associated metafields.
- access•