Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

application/json

Content type for the request

Authorization

AccessKey eb774621-1c2f-467b-b006-a8efa67094a7

Access Key authorization header that you get from the normal logon method.

Required parameters

Name

Example

Description

targetItemIds

12345

List of item ids of your assets that must be have its metadata updated

metaFieldLabelId

12345

The id of the metafield label that must be updated

skipAutoTranslateBehavior

true

Do you wish to skip auto-translate or not

Optional parameters

Name

Example

Description

comboValue

1

Updating field type SingleComboValue

value

abc

Updating field type SingleValue such as a string or int

comboValues

[1,2,3]

Updating field typeComboValues

Request body

Code Block
{
  targetItemIds: [1234],
  metaFieldLabelId: 5421,
  skipAutoTranslateBehavior: true,
  value: "My description"
}

Success Response

Code : 200 OK

Error Response

Code : 500 ERROR