Quickr: Usando REST e ATOM: Difference between revisions
(Criou nova página com 'Documento em Rascunho (Draft) == Getting the list of libraries - Quickr/Portal == '''Request''' * GET /dm/atom/introspection '''Return''' <?xml version="1.0" encod...') |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Documento em Rascunho (Draft) | Documento em Rascunho (Draft) | ||
== Getting the list of libraries - Quickr/Portal == | == URLs == | ||
=== Getting the list of libraries - Quickr/Portal === | |||
'''Request''' | '''Request''' | ||
Line 23: | Line 25: | ||
http://www.ibm.com/developerworks/lotus/library/quickr-rest/ | http://www.ibm.com/developerworks/lotus/library/quickr-rest/ | ||
== Getting the list of folders and documents - Quickr/Portal == | === Getting the list of folders and documents - Quickr/Portal === | ||
'''Request''' | '''Request''' | ||
/dm/atom/library/5d06ab0044ed8129bd5ebd4caeec5df1/feed | * /dm/atom/library/5d06ab0044ed8129bd5ebd4caeec5df1/feed | ||
http://www.ibm.com/developerworks/lotus/library/quickr-rest/ | http://www.ibm.com/developerworks/lotus/library/quickr-rest/ | ||
== Retrieving the list of places - Quickr/Domino == | === Retrieving the list of places - Quickr/Domino === | ||
'''Request''' | '''Request''' | ||
Line 37: | Line 39: | ||
/myqcs/rest/places/feed | /myqcs/rest/places/feed | ||
=== Retrieving the information of an individual place === | |||
== Retrieving the information of an individual place == | |||
GET /myqcs/rest/place/6B6E24213DA1364C882573A70002B497/entry | GET /myqcs/rest/place/6B6E24213DA1364C882573A70002B497/entry | ||
=== Locking a place === | |||
== Locking a place == | |||
'''Request''' | '''Request''' | ||
* PUT /myqcs/rest/place/6B6E24213DA1364C882573A70002B497/entry | |||
== Listando as policies == | === Listando as policies === | ||
The URL for creating a policy operations look like this one: | The URL for creating a policy operations look like this one: | ||
Line 170: | Line 58: | ||
http://www.ibm.com/developerworks/lotus/library/quickr-admin/ | http://www.ibm.com/developerworks/lotus/library/quickr-admin/ | ||
== Assigning a policy to a place == | === Assigning a policy to a place === | ||
http://mikebook.cn.ibm.com/myqcs/rest/place/6B6E24213DA1364C882573A70002B497/entry | * PUT http://mikebook.cn.ibm.com/myqcs/rest/place/6B6E24213DA1364C882573A70002B497/entry | ||
The APP Put operations are used to assign the policy | The APP Put operations are used to assign the policy | ||
=== Return Members === | |||
GET /lotus/mycontenthandler/!ut/p/ai/applications/<placeid>/members | GET /lotus/mycontenthandler/!ut/p/ai/applications/<placeid>/members | ||
memberUrl = this.serverRoot + “/mycontenthander/!ut/p/ai/applications” + this.placeId + “/members” | |||
== Artigos == | |||
* [http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1/index.jsp?topic=/com.ibm.wp.ent.doc_v615/caitai/i_r_app_rest_svcs.html Application REST services] | |||
* [http://www-10.lotus.com/ldd/lqwiki.nsf/dx/02142009072014PMWEB2EP.htm Simple Example of Using a REST Service to Post a Blog Entry] | |||
* [http://www-10.lotus.com/ldd/lqwiki.nsf/dx/update-a-place Update a place TECHNICAL PREVIEW] | |||
* [http://www-10.lotus.com/ldd/lqwiki.nsf/dx/remove-member-from-a-place Remove member from a place TECHNICAL PREVIEW] | |||
* [http://www.ibm.com/developerworks/lotus/documentation/quickrairest/index.html Using AI REST services in IBM Lotus Quickr 8.5 for WebSphere Portal to manage Place Members] | |||
== Outros == | |||
/dm/atom/libraries/feed?pagesize=1000 | /dm/atom/libraries/feed?pagesize=1000 | ||
Latest revision as of 13:25, 29 January 2013
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=