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.

3.1.4 Optional Arguments<br />

The binding supports adding optional parameters to <strong>CMIS</strong> resources to modify the default behavior. <strong>CMIS</strong><br />

implementations MUST support arguments being specified as HTTP query string parameters.<br />

Names and valid values for HTTP query string parameters are as described in the appropriate <strong>CMIS</strong> Service<br />

descriptions (see section 2.2 <strong>Services</strong>). Valid values of enumeration types are also represented in the <strong>CMIS</strong><br />

Core XML Schema.<br />

3.1.5 Errors and Exceptions<br />

Exceptions MUST be mapped to the appropriate HTTP status code.<br />

Repositories SHOULD provide sufficient information in the body of the HTTP response for a user to determine<br />

corrective action.<br />

See section 3.2.3 HTTP Status Codes for more information.<br />

3.1.6 Renditions<br />

Each rendition included in a <strong>CMIS</strong> AtomPub response is represented as an Atom link with a relationship<br />

alternate.<br />

The following attributes SHOULD be included on the link element:<br />

href URI to the rendition content stream<br />

type The Media Type of the rendition<br />

cmisra:renditionKind The Rendition Kind for the rendition<br />

The following attributes MAY be included:<br />

title The filename (or name property if object) of rendition<br />

length The length of the rendition in bytes<br />

3.1.7 <strong>Content</strong> Streams<br />

The content stream for a document SHOULD be referenced by the content src attribute as well as the<br />

edit-media link relation. A <strong>CMIS</strong> Repository MAY use different URIs for both content src attribute and<br />

the edit-media link relation for the same content stream.<br />

The following attributes SHOULD be included on the link element:<br />

href URI to the content stream<br />

type The Media Type of the content stream<br />

3.1.8 Paging of Feeds<br />

For paging, please see the AtomPub RFC. <strong>CMIS</strong> leverages first, next, previous, and last link relations to<br />

express paging.<br />

If the repository can include the number of items (numItems in <strong>CMIS</strong> Domain Model) in a feed, then the<br />

repository SHOULD include the cmisra:numItems extension element in the feed.<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 202 of 331

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

Saved successfully!

Ooh no, something went wrong!