atom url for document

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

atom url for document

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
rupeshsawaliya
Established Member

Re: atom url for document

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
Senior Member

Re: atom url for document

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