Metadata template
A template for metadata that can be applied to files and folders.Attributes and example
Attributes and example
| Property | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The ID of the metadata template. |
type | enum<string> | Yes | The value will always be metadata_template. Available options: metadata_template. |
scope | string | No | The scope of the metadata template can either be global or enterprise_*. The global scope is used for templates that are available to any Box enterprise. The enterprise_* scope represents templates that have been created within a specific enterprise, where * will be the ID of that enterprise. |
templateKey | string | No | A unique identifier for the template. This identifier is unique across the scope of the enterprise to which the metadata template is being applied, yet is not necessarily unique across different enterprises. |
displayName | string | No | The display name of the template. This can be seen in the Box web app and mobile apps. |
hidden | boolean | No | Defines if this template is visible in the Box web app UI, or if it is purely intended for usage through the API. |
fields | array of object | No | An ordered list of template fields which are part of the template. Each field can be a regular text field, date field, number field, as well as a single or multi-select list. |
copyInstanceOnItemCopy | boolean | No | Whether or not to include the metadata when a file or folder is copied. |
Example
Metadata templates
A list of metadata templates.Attributes and example
Attributes and example
| Property | Type | Required | Description |
|---|---|---|---|
limit | integer | No | The limit that was used for these entries. This will be the same as the limit query parameter unless that value exceeded the maximum value allowed. The maximum value varies by API. |
next_marker | string | No | The marker for the start of the next page of results. Can be null. |
prev_marker | string | No | The marker for the start of the previous page of results. Can be null. |
entries | array of Metadata template | No | A list of metadata templates. |
Example
