Digital Asset Management (DAM)
Custom metadata fields
Create new field
This API creates a new custom metadata field. Once a custom metadata field is created either through this API or using the dashboard UI, its value can be set on the assets. The value of a field for an asset can be set using the media library UI or programmatically through upload or update assets API.
post/v1/customMetadataFields
Request body
Example request
{
"schema": {
"selectOptions": [
"small",
"medium",
"large",
30,
40,
true
],
"defaultValue": [
true,
10,
"Hello"
]
}
}Response
Custom metadata field created successfully.
Example response
{
"schema": {
"selectOptions": [
"small",
"medium",
"large",
30,
40,
true
],
"defaultValue": [
true,
10,
"Hello"
]
}
}