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.

If this is called with an entry that doesn't have an object id, a new, unfiled object will be created.<br />

The removed or newly created Document Entry, Policy Entry, or Item Entry MUST be returned.<br />

<strong>CMIS</strong> <strong>Services</strong>:<br />

• removeObjectFromFolder<br />

• createDocument<br />

• createPolicy<br />

• createItem<br />

If the Atom Entry POSTed has a valid cmis:objectId property, removeObjectFromFolder will be performed.<br />

If the Atom Entry POSTed has no cmis:objectId property, the value of the cmis:objectTypeId<br />

property decides if createDocument, createPolicy, or createItem will be performed. In all other<br />

cases (invalid object id, the object does not exist, the object is not in that folder, the object type id is invalid,<br />

the base type is neither cmis:document nor cmis:policy nor cmis:item, etc.) the appropriate HTTP<br />

status code MUST be returned. See also 3.9.2 Folder Children Collection.<br />

Arguments:<br />

Accept:<br />

Media Type:<br />

• removeFrom<br />

• versioningState<br />

• MUST support Atom Entry documents with <strong>CMIS</strong> extensions<br />

application/atom+xml;type=entry or application/cmisatom+xml<br />

• MAY support other media type<br />

• application/atom+xml;type=entry<br />

Success Status Codes:<br />

• 201 Created<br />

Headers returned:<br />

• Location<br />

Example:<br />

Request: atompub/removeObjectFromFolder-request.log<br />

Response: atompub/removeObjectFromFolder-response.log<br />

3.8.5 Type Children Collection<br />

This is a collection described in the service document that contains the types in the repository under the<br />

specified parent type. If no parent type is specified, then the base types are returned in the feed. This feed<br />

does not include any nesting and is a flat feed.<br />

3.8.5.1 HTTP GET<br />

This feed contains a set of Atom entries for each child type definition.<br />

<strong>CMIS</strong> <strong>Services</strong>:<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 226 of 331

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

Saved successfully!

Ooh no, something went wrong!