12-12-2018 09:38 AM
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
12-12-2018 10:27 AM
You re getting the right uid, there is no hashed one
12-12-2018 10:51 AM
not really i want to get this one (uid
12-12-2018 10:53 AM
You can access it in the properties
object:
propeties["uid:uid"]
You probably need to ask for the uid
schema when doing your query to get back it in the JSON response:
http://mynuxeo:8080/nuxeo/api/v1/query?query=XXXX&properties=uid
12-13-2018 12:08 PM
Thank you, so for everybody who faces the same problems with metadata, i added this header in my curl request (-H "X-NXDocumentProperties
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.