Create custom metedata via restful API

Hi All, I am currently evaluating Nuxeo as the repository of our digital assets like image, audio and video files. One feature we absolutely require is the ability to create metadata via RESTful API calls. As far as I have understood, this is not easy in Nuxeo. It requires me to first create a facet and then create the metadata field(s). And, attaching the facet to the document type. It looks to me the above steps has to be done manually on the web interface. Can someone advice if what I have outlined is correct? Or, is there an alternative way to create custom metadata via RESTful API call?

Thanks in advance, ec

1 votes

2 answers

2225 views

ANSWER



I also wanted the same feature, but unfortunately Nuxeo didn't support creating document type, metadata through REST Api's. One need to create them through Web Interface and then install the build in the nuxeo server.

0 votes



Hi,

I think what you are looking for is creating custom document type and custom schemas to have your own custom metadata. When done, you can use it through the REST API.

Some documentation that can help you: https://doc.nuxeo.com/nxdoc/how-to-define-a-document-type/ and https://doc.nuxeo.com/studio/schemas/

0 votes



yes, I would like to create custom document and schemas. But I want to create them via REST API. Is that possible?
05/20/2018

The config endpoint allows to retrieve the definition of types, facets and schemas, but it is read-only
05/20/2018

Thanks Thomas and Pibou!
05/21/2018