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.

– cmisra:collectiontype = 'update'<br />

The workspace element MUST also contain the following link element with the relation:<br />

http://docs.oasis-open.org/ns/cmis/link/200908/typedescendants<br />

• This link relation points to the Type Descendants Feed for the base types in the repository.<br />

The workspace element MUST contain the following link elements of the following relations for those services<br />

which are supported by the repository:<br />

http://docs.oasis-open.org/ns/cmis/link/200908/foldertree<br />

• This link relation points to the Folder Tree Feed for the root folder.<br />

http://docs.oasis-open.org/ns/cmis/link/200908/rootdescendants<br />

• This link relation points to the Folder Descendants Feed for the root folder.<br />

http://docs.oasis-open.org/ns/cmis/link/200908/changes<br />

• This link relation points to the Changes Feed for the repository.<br />

The workspace element may include app:collection elements for the collections that represent folders<br />

in the repository. However, an alternative approach, especially for a repository with many folders, is to not<br />

enumerate those collections here, but include the app:collection element per [RFC5023] in the Atom<br />

Feed document.<br />

The repository MUST include the URI templates in the workspace elements.<br />

3.7.<strong>1.1</strong> URI Templates<br />

<strong>CMIS</strong> defines the following URI templates:<br />

• objectbyid<br />

• objectbypath<br />

• query<br />

• typebyid<br />

Repositories MUST provide the following URI templates:<br />

• objectbyid<br />

• objectbypath<br />

• typebyid<br />

Repositories MUST provide the URI template query if the repository supports query.<br />

Repositories MAY extend that set of templates. Those URI template types will be repository specific. Repositories<br />

MAY have more than one entry per URI template type if the entries have different media types.<br />

URI templates are simple replacement of the template parameter with the specified value. If a client does<br />

not want to specify a value for some of these variables, then the client MUST substitute an empty string for<br />

the variable.<br />

For example, if the URI template that supports the variable {id} is:<br />

http://example.com/rep1/getbyid/{id}<br />

If the client wants to find the entry for an object with an id of 'obj_1' then the URI would be:<br />

http://example.com/rep1/getbyid/obj_1<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 219 of 331

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

Saved successfully!

Ooh no, something went wrong!