How to set custom attribute to file when upload to nuxeo document?
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?
0 votes
1 answers
876 views