In addition to the existing XML-based AtomPub and Web services bindings, CMIS 1.1 provides a simpler JSON-based
binding. The browser binding is designed for web applications and is easy to use just with HTML and JavaScript. It uses
just two
verbs, GET and POST, and resources are referenced using simple and predictable URLs.
You reference content in the repository by using the two URLs returned by the
getRepositories
or
getRepositoryInfo
service:
Objects can then be referenced in two ways:
rootFolderUrl repositoryUrl
-
by their ID
<rootFolderUrl>?objectId=<objectId>
-
by their path
<rootFolderUrl>/<object path>
Content that is independent of a folder, for example a Type definition be accessed using the repositoryUrl service.
<repositoryUrl>?cmisselector=<selector>