Quickr: Usando REST e ATOM

From Wiki
Revision as of 13:23, 29 January 2013 by Ebasso (talk | contribs)

Documento em Rascunho (Draft)

URLs

Getting the list of libraries - Quickr/Portal

Request

  • GET /dm/atom/introspection

Return

<?xml version="1.0" encoding="utf-8"?>
<service>
  <workspace title="Teamspace Documents">
     	  <collection title="Architecture Documents" href="http://quickrserver/library/5d06ab0044ed8129bd5ebd4caeec5df1/feed">
  	<accept>application/*,image/*,*/*</accept>
  	  </collection>
  	  <collection title="Design Documents" href="http://quickrserver/library/3c06ab0044ed8129bd5ebd4cbeec5dc4/feed">
  		<accept>application/*,image/*,*/*</accept>
  	  </collection>
  	 </workspace>
</service>

http://www.ibm.com/developerworks/lotus/library/quickr-rest/

Getting the list of folders and documents - Quickr/Portal

Request

  • /dm/atom/library/5d06ab0044ed8129bd5ebd4caeec5df1/feed

http://www.ibm.com/developerworks/lotus/library/quickr-rest/

Retrieving the list of places - Quickr/Domino

Request

/myqcs/rest/places/feed

Retrieving the information of an individual place

GET /myqcs/rest/place/6B6E24213DA1364C882573A70002B497/entry


Locking a place

Request

  • PUT /myqcs/rest/place/6B6E24213DA1364C882573A70002B497/entry

Listando as policies

The URL for creating a policy operations look like this one: http://mikebook.cn.ibm.com/myqcs/rest/policy/feed


http://www.ibm.com/developerworks/lotus/library/quickr-admin/

Assigning a policy to a place

The APP Put operations are used to assign the policy


Return Members

GET /lotus/mycontenthandler/!ut/p/ai/applications/<placeid>/members


memberUrl = this.serverRoot + “/mycontenthander/!ut/p/ai/applications” + this.placeId + “/members”

Artigos


Outros

/dm/atom/libraries/feed?pagesize=1000

/myqcs/rest/place/" + sId + "/members"

/myqcs/rest/places/feed?libID=