07-01-2020 01:44 AM
I want to add some custom attributes to file when upload to nuxeo document using below endpoint and payload:
http://localhost:8080/nuxeo/api/v1/id/folder_id
{ "entity-type": "document", "type": "File", "name":"test", "properties" : { "file:content": { "upload-batch":"batchId", "upload-fileId":"0" } } }
How can I add attribute to file using nuxeo rest API?
07-01-2020 02:32 AM
I fix it using below payload { "entity-type": "document", "type": "File", "name":"name", "properties" : { "file:content": { "upload-batch":"batchId", "upload-fileId":"0" }, "nxtag:tags":[{ "label": "tag content" }] } }
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.