REST API node info with &include=path problem

cancel
Showing results for 
Search instead for 
Did you mean: 
Peter_Adam_SB
Active Member II

REST API node info with &include=path problem

Jump to solution

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 Solution

Accepted Solutions
angelborroy
Alfresco Employee

Re: REST API node info with &include=path problem

Jump to solution

Use "?" instead of "&":

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

View solution in original post

1 Reply
angelborroy
Alfresco Employee

Re: REST API node info with &include=path problem

Jump to solution

Use "?" instead of "&":

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

View solution in original post