AnsweredAssumed Answered

Alfresco 5.0.c : Unable to access the content/data for a node/document using Rest API

Question asked by manoj27 on Sep 2, 2015
Latest reply on Sep 11, 2015 by manoj27
Hi,

I am trying to access the data of a node/document using following API:

http://<host>:<port>/alfresco/service/api/node/{store_type}/{store_id}/{id}

And, it is giving 404 error with following response:


404 Description:   Requested resource is not available.

Message:   08020013 Script url /api/node/workspace/SpacesStore/b4cff62a-664d-4d45-9302-98723eac1319 does not map to a Web Script.


However, this same API works properly for Alfresco Community 4.2.f and returns the data in XML format.

I have tried to hit other following Web Scripts APIs, which works fine.

http://<host>:<port>/alfresco/service/api/node/{store_type}/{store_id}/{id}/comments
http://<host>:<port>/alfresco/service/api/node/{store_type}/{store_id}/{id}/metadata



Could someone please help, regarding what and how to fix. Or, is there any API changes for Alfresco Community 5?
I have checked the alfresco wiki and forum, but couldn't find the required inputs.

Thanks.

Outcomes