cancel
Showing results for 
Search instead for 
Did you mean: 

REST API node info with &include=path problem

Peter_Adam_SB
Confirmed Champ
Confirmed Champ

I have a problem with getting the path info via a GET request according to the example here: https://docs.alfresco.com/content-services/community/develop/rest-api-guide/folders-files/#get-folde...

According to the document I can use a node identifier here, and I can get the basic information perfectly:

/alfresco/api/-default-/public/alfresco/versions/1/nodes/3b2312d5-182a-44da-9464-59aaa4952ec4

However, when according to the docs I want to get the path information, and I extend the URL with include=path:

/alfresco/api/-default-/public/alfresco/versions/1/nodes/3b2312d5-182a-44da-9464-59aaa4952ec4&include=path

I get an error "framework.exception.EntityNotFound" with briefSummary "10300015 The entity with id: 3b2312d5-182a-44da-9464-59aaa4952ec4&include=path was not found"

What I am missing here? Why the include parameter is included in the entity id?

1 ACCEPTED ANSWER

angelborroy
Community Manager Community Manager
Community Manager

Use "?" instead of "&":

/alfresco/api/-default-/public/alfresco/versions/1/nodes/3b2312d5-182a-44da-9464-59aaa4952ec4?include=path
Hyland Developer Evangelist

View answer in original post

1 REPLY 1

angelborroy
Community Manager Community Manager
Community Manager

Use "?" instead of "&":

/alfresco/api/-default-/public/alfresco/versions/1/nodes/3b2312d5-182a-44da-9464-59aaa4952ec4?include=path
Hyland Developer Evangelist