cancel
Showing results for 
Search instead for 
Did you mean: 

SiteId for document by Restful API

alexkatz
Champ in-the-making
Champ in-the-making
How can I retrieve the siteid or shortname by Restful API for a document. The document metadata service does not retrieve the site name.
1 REPLY 1

kaynezhang
World-Class Innovator
World-Class Innovator
You can use
 
GET /alfresco/service/slingshot/doclib/node/{store_type}/{store_id}/{id}

It's response contain a "location" segment ,which will contain site name.