MediaManager API - update an asset metadata
Hello,
There is a rest api available to update asset metadata PATCH /{version: v(4)}/assets/{id}
Below is a sample edit json, I am providing and it works fine:
{ "edited_asset": { "data": { "metadata": [ { "type": "com.artesia.metadata.MetadataField", "id": "LUM.FIELD.ALERT_COMMENT", "name": "LUM.FIELD.ALERT_COMMENT", "value": { "value": { "type": "string", "value": "Hello World" } } }, { "type": "com.artesia.metadata.MetadataTableField", "id": "HYBRIS.FIELD.PRODUCT.PRODUCT TAG NAME", "value": { "value": { "type": "string", "value": "ID Tag Name 2" } } }, { "type": "com.artesia.metadata.MetadataTableField", "id": "HYBRIS.FIELD.PRODUCT.PRODUCT ID", "value": { "value": { "type": "string", "value": "12345678AV" } } } ] } } }
I need to add another row to the Tabular Metadata field, but this fails always. Could someone please help me with this?
Comments
-
The issue with the properties of the metadata. The metadata field was marked as non-editable and making the field editable fixed the issue
0
Categories
- All Categories
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 122 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management