As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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?
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" }] } }