DC 5.6 (New) Update metadata on asset
This explains how digizuitecore is used for setting metadata on an asset
URLĀ :Ā /digizuitecore/legacyservice/api/metadata/update
MethodĀ :Ā POST
Auth requiredĀ : Yes
Required headers
Name | Example | Description |
---|---|---|
|
| Content type for the request |
|
| Access Key authorization header that you get from the normal logon method. |
Required parameters (with updates body tag)
Name | Example | Description |
---|---|---|
| 12345 | List of item ids of your assets that must be have its metadata updated |
| 12345 | The id of the metafield label that must be updated |
Optional parameters
Name | Example | Description |
---|---|---|
| 1 | Updating field type |
| abc | Updating field type |
| [1,2,3] | Updating field type |
Ā
Request body
{
"updates": [{
"targetItemIds": [1234],
"metaFieldLabelId": 5421,
"value": "My description"
}]
} Ā |
Success Response
CodeĀ :Ā 200 OK
Error Response
CodeĀ :Ā 500 ERROR