New to alfresco, I've been trying to make some simple http requests to the Alfresco REST API. I've been trying to make requests involving the /nodes service, but I can't seem to locate any node id's. I see that there is a "Node Browser" under the admin tools but I can't seem to figure out how to use it or get what I'm looking for. Any help is much appreciated!
Can you post a example of the rest service you want to use (endpoint,parameters,ecc)?
Probably the easiest ways for checking / getting the uuids of some nodes are via
i) details page of a given document (it is part of the url)
ii) via node browser (in Share admin and also in Alfresco Admin Console)
iii) via cmis workbench (download from apache chemistry page).
Regards.
--C.
I followed your directions regarding the first option you gave and got a url along the lines of : site/learning-alfresco/document-details?nodeRef=workspace://SpacesStore/fd537bd3-e18a-4611-bdca-d04a98372128
Is what follows the "nodeRef=" the node id? Is this what I would enter as the nodeId when using the services found under the nodes section of the REST API here: https://api-explorer.alfresco.com/api-explorer/#/nodes
Hi Gerard, the last part of "workspace://SpacesStore/fd537bd3-e18a-4611-bdca-d04a98372128" is the uuid of the node and that it's what you need to use with the Rest Api of Alfresco.
This http GET below must be the right one , try out on your alfresco machine
https://127.0.0.1:8443/alfres
co/api/-default-/public/alfresco/versions/1/nodes/fd537bd3-e18a-4611-bdca-d04a98372128?include=allowableOperations%2Cassociation%2CisLink%2CisLocked%2Cpath%2Cpermissions%2Cproperties%2CaspectNames
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.