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.
Hi when i get a secific document using REST API , i'm getting the following informations in the json: . . . {"entity-type":"document", "repository":"default", "uid":"dde893c1-ed1d-493e-8c11-51fe4b3aaf13", "path":"/default-domain/workspaces/XXX/YYY/ZZZZZZZZZZ" . . .
how can I get the right uid instead of the hashed one i'm getting
Thank you
(im using http://mynuxeo:8080/nuxeo/api/v1/query?query= for my queries
You re getting the right uid, there is no hashed one
not really i want to get this one (uid
You can access it in the properties object:
properties
propeties["uid:uid"]
You probably need to ask for the uid schema when doing your query to get back it in the JSON response:
uid
http://mynuxeo:8080/nuxeo/api/v1/query?query=XXXX&properties=uid
Thank you, so for everybody who faces the same problems with metadata, i added this header in my curl request (-H "X-NXDocumentProperties