18.01.2015 Views

Content Management Interoperability Services (CMIS) Version 1.1

Content Management Interoperability Services (CMIS) Version 1.1

Content Management Interoperability Services (CMIS) Version 1.1

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.3.2 Repository URL<br />

The Repository URL provides access to data that is independent of the folder hierarchy such as type definitions,<br />

query and content changes. It can be obtained using the getRepositories or getRepositoryInfo<br />

services.<br />

5.3.3 Root Folder URL<br />

The Root Folder URL is used to build Object URLs (see section 5.3.4 Object URLs). It can be obtained<br />

using the getRepositories or getRepositoryInfo services.<br />

5.3.4 Object URLs<br />

An object is either identified by a parameter objectId added to the Root Folder URL or by a path that is<br />

appended to the Root Folder URL. If the parameter objectId is set, it takes precedence over the path.<br />

The two forms of an Object URL are:<br />

• objectId=<br />

where is the Root Folder URL and is a <strong>CMIS</strong> object id.<br />

• /<br />

where is the Root Folder URL and is an absolute <strong>CMIS</strong> path to an object.<br />

Examples:<br />

• If the Root Folder URL is http://example.com/cmis/repository/123 and the object id is<br />

1a2b-3c4d-5e6f then the Object URL is:<br />

http://example.com/cmis/repository/123objectId=1a2b-3c4d-5e6f<br />

• If the Root Folder URL is http://example.com/cmis/repository/123 and the object path is<br />

/myFolder/myDocument then the Object URL is:<br />

http://example.com/cmis/repository/123/myFolder/myDocument<br />

5.4 <strong>Services</strong><br />

Read operations use HTTP GET. The particular data that is returned by a read operation is determined by<br />

the query parameter cmisselector.<br />

If the cmisselector parameter is absent, the following default values are used:<br />

Base Type<br />

cmis:document<br />

cmis:folder<br />

cmis:relationship<br />

cmis:policy<br />

cmis:item<br />

cmisselector<br />

content<br />

children<br />

object<br />

object<br />

object<br />

The value of the cmisselector parameter is case insensitive.<br />

All operations that create, modify, or delete objects or change the state of the repository in any way use<br />

HTTP POST. Since this binding is optimized for use in browser applications, the format of the transferred<br />

data is aligned to the capabilities of HTML forms and described in this specification in HTML terms. See<br />

section 5.4.4 Use of HTML Forms for a description of how HTML forms are used for <strong>CMIS</strong> services.<br />

All operations that return the HTTP status code 201 SHOULD also return a HTTP Location header.<br />

<strong>CMIS</strong>-v<strong>1.1</strong>-csprd01<br />

Standards Track Work Product<br />

Copyright © OASIS Open 2012. All Rights Reserved.<br />

18 August 2012<br />

Page 266 of 331

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!