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
- 123 Developer Announcements
- 54 Articles
- 153 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories