cancel
Showing results for 
Search instead for 
Did you mean: 

JSON response with action URIs

xtom
Champ in-the-making
Champ in-the-making
Please, is there a way how to use /atom with JSON response type? Because in 1.1/atom, there are URIs to actions on each feed, while in 1.1/browser I see no action URIs.
Thanks for help.
3 REPLIES 3

jpotts
World-Class Innovator
World-Class Innovator
The Atom Publishing Protocol is XML-based, by definition, so you cannot use JSON with the Atom end-point. But the Atom end-point and the browser end-point should be nearly identical from a functional standpoint.

You mention "action" URIs, but CMIS does not have the notion of actions, so your question is somewhat confusing. Perhaps you could post exactly which URLs you are interested in.

Jeff

xtom
Champ in-the-making
Champ in-the-making
Hi Jeff,

thanks for fast reply.

What I mean by "action" URIs are in fact elements "atom:link" with action key as "rel" and URI as "href". So in Atom, when I have some feed for folder or document, I have list of available links and the response is "browsable" - no need to create links to action resources on objects, just read URI from feed. I didn't find this possibility in JSON "browser". Is there any way to get them?

And in general:
Please, can you recommend me some documentation for CMIS 1.1 JSON? Something like "Getting Started with CMIS" but using JSON instead of Atom? Or is anywhere some specification of all JSON resources: URI, HTTP methods, request parameters/body, response schema? I found just some request/response examples for some actions but not complete list of all possible actions…

Thank you.

jpotts
World-Class Innovator
World-Class Innovator
The best resource is the <a href="http://docs.oasis-open.org/cmis/CMIS/v1.1/os/CMIS-v1.1-os.html">spec</a>, the <a href="http://manning.com/mueller/">CMIS and Apache Chemistry in Action</a> book, and the various presentations and blogs posts you can find on the net.

The spec has a specific section called "5.3 URLs" that deals with this.

Jeff