cancel
Showing results for 
Search instead for 
Did you mean: 

atom url for document

sunilk
Champ in-the-making
Champ in-the-making

Currently We are trying to get Atom URL of the document but we are getting Object not found error. Below is the URL format.

Can you please let me know what is correct URL.

URL: http://132.145.2.130:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom/path?path=/877e91f6-6...

Error: HTTP Status 404 - objectNotFound
Object not found: /877e91f6-642d-49de-9c44-b84b9dd776e3


Can you please help us?

Thanks,
Sunil

2 REPLIES 2

rupeshsawaliya
Star Contributor
Star Contributor

Hi,

Just got reference of URL from this post Show documents using new cmisatom url with a ticket 

your URL should be like

http://135.145.2.130:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom/content/<DOCUMENT NAME>?id=<UUID of document>&filter=&includeAllowableActions=&includeACL=&includePolicyIds=&includeRelationships=&renditionFilter

I believe two bold marked params were missing in your url.

I hope this will help.

Regards,

Rupesh

EnProwess Technologies

calvo
Star Collaborator
Star Collaborator

Hi,

Maybe could be useful using CMIS Workbench to test it.

In my case a document url is something like this (using ObjectID):

http://localhost:8383/alfresco/api/-default-/public/cmis/versions/1.0/atom/content/F001-2016.docx?id... 

In your url, I think there is something wrong: "path?path="

Regards,

clv