Metadata instance
An instance of a metadata template, which has been applied to a file or folder.Attributes and example
Attributes and example
| Property | Type | Required | Description |
|---|---|---|---|
$parent | string | No | The identifier of the item that this metadata instance has been attached to. This combines the type and the id of the parent in the form {type}_{id}. |
$template | string | No | The name of the template. |
$scope | string | No | An ID for the scope in which this template has been applied. This will be enterprise_{enterprise_id} for templates defined for use in this enterprise, and global for general templates that are available to all enterprises using Box. |
$version | integer | No | The version of the metadata instance. This version starts at 0 and increases every time a user-defined property is modified. |
Example
Metadata instance (Base)
The base representation of a metadata instance.Attributes and example
Attributes and example
| Property | Type | Required | Description |
|---|---|---|---|
$parent | string | No | The identifier of the item that this metadata instance has been attached to. This combines the type and the id of the parent in the form {type}_{id}. |
$template | string | No | The name of the template. |
$scope | string | No | An ID for the scope in which this template has been applied. This will be enterprise_{enterprise_id} for templates defined for use in this enterprise, and global for general templates that are available to all enterprises using Box. |
$version | integer | No | The version of the metadata instance. This version starts at 0 and increases every time a user-defined property is modified. |
Example
Metadata instance (Full)
An instance of a metadata template, which has been applied to a file or folder.Attributes and example
Attributes and example
| Property | Type | Required | Description |
|---|---|---|---|
$parent | string | No | The identifier of the item that this metadata instance has been attached to. This combines the type and the id of the parent in the form {type}_{id}. |
$template | string | No | The name of the template. |
$scope | string | No | An ID for the scope in which this template has been applied. This will be enterprise_{enterprise_id} for templates defined for use in this enterprise, and global for general templates that are available to all enterprises using Box. |
$version | integer | No | The version of the metadata instance. This version starts at 0 and increases every time a user-defined property is modified. |
$canEdit | boolean | No | Whether the user can edit this metadata instance. |
$id | string | No | A UUID to identify the metadata instance. |
$type | string | No | A unique identifier for the “type” of this instance. This is an internal system property and should not be used by a client application. |
$typeVersion | integer | No | The last-known version of the template of the object. This is an internal system property and should not be used by a client application. |
Example
Metadata instances
A list of metadata instances that have been applied to a file or folder.Attributes and example
Attributes and example
| Property | Type | Required | Description |
|---|---|---|---|
entries | array of Metadata instance | No | A list of metadata instances, as applied to this file or folder. |
limit | integer | No | The limit that was used for this page of results. |
Example
