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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.4.3.37 Action "applyACL"<br />

Service:<br />

HTTP method:<br />

Control cmisaction:<br />

Relevant<br />

<strong>CMIS</strong> Controls:<br />

applyACL<br />

POST<br />

applyACL<br />

• Adding Access Control Entries (ACEs)<br />

• Removing Access Control Entries (ACEs)<br />

• ACL propagation<br />

• Token<br />

Response:<br />

Schema Element:<br />

Success HTTP<br />

status code:<br />

JSON representation of the updated ACL<br />

http://docs.oasis-open.org/ns/cmis/browser/201103/acl<br />

200 OK<br />

5.4.3.38 Selector "acl"<br />

Service:<br />

HTTP method:<br />

Argument<br />

cmisselector:<br />

Arguments:<br />

getACL<br />

GET<br />

acl<br />

• onlyBasicPermissions<br />

• token<br />

Response:<br />

Schema Element:<br />

Success HTTP<br />

status code:<br />

JSON representation of the ACL<br />

http://docs.oasis-open.org/ns/cmis/browser/201103/acl<br />

200 OK<br />

Example:<br />

Request: browser/getAcl-request.log<br />

Response: browser/getAcl-response.log<br />

5.4.4 Use of HTML Forms<br />

As described in section 5.4 <strong>Services</strong> HTML forms are used to create, update and delete <strong>CMIS</strong> content.<br />

The form submission method (HTML form attribute "method") MUST be "POST". If a content stream<br />

is not attached to the form, the encoding type (HTML form attribute "enctype") MUST be either<br />

application/x-www-form-urlencoded or multipart/form-data. If a content stream is attached,<br />

the encoding type MUST be multipart/form-data.<br />

The names of the controls within the form are defined by the patterns in the following sections. All control<br />

names are case-insensitive as defined by the HTML specification. Control names MUST be unique within<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 297 of 331

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

Saved successfully!

Ooh no, something went wrong!