cancel
Showing results for 
Search instead for 
Did you mean: 

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

manoj27
Champ in-the-making
Champ in-the-making
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.
11 REPLIES 11

manoj27
Champ in-the-making
Champ in-the-making
Hi Sebastien,

Thanks for your assistance.
And, yeah, that's fine, later on, after trial-n-error and with the help of documentation, I have figured out the required API for fetching list of modified Node's.

-Manoj

poojagiri
Champ in-the-making
Champ in-the-making
Hi,
I want to develop an android app which can store content to alfresco. What is the first step i need to do?
I am new to alfresco. Someone please help me…