mediaAttributeDefinitionAdd
Media operations currently support images only.
Define a custom field that can be set on images, such as "Shot type" or "Usage rights".
Business Rules: the name and the handle stay unique among the company's image
attribute definitions, archived ones included. A handle is derived from the
name when omitted. attributeType is fixed at creation.
Error Scenarios: a blank or duplicate name, or a malformed or duplicate
handle, is rejected. A name or handle held by an archived definition points at
it: restore that definition instead.
Permissions Required: media:add_image_attribute_definition.
mediaAttributeDefinitionAdd(
input: MediaAttributeDefinitionAddInput!
): MediaAttributeDefinition!
Arguments
mediaAttributeDefinitionAdd.input ● MediaAttributeDefinitionAddInput! non-null input common
Parameters for MediaAttributeDefinitionAdd
Type
MediaAttributeDefinition object products
A company-defined custom field that can be set on images (e.g. "Shot type", "Usage rights").