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
- 117 Developer Announcements
- 52 Articles
- 145 General Questions
- 132 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 8.9K Extended ECM
- 912 Cloud Fax and Notifications
- 81 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 162 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 4 XM Fax