Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • Lotus Quickr wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category Lotus Quickr 8.5 for WebSphere Portal Documentation Lotus Quickr 8.5.1 for Domino Documentation Lotus Quickr Connectors 8.5 Documentation Custom Search Scope...
Search
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

IBM contributorRui BJ Yang
Contribution Summary:
  • Articles authored: 15
  • Articles edited: 0
  • Comments Posted: 0

Recent articles by this author

Get place statistics: lq851

Overview Retrieve the latest place statistics data. URL endpoint Perform a GET operation on the following URL: URL Description myqcsrestplace{placeidentry Get place statistics data Authentication This method requires authentication. Only administrator and place owner can ...

Get system statistics: lq851

Overview Get the latest or specified period available system statistics data URL endpoint Perform a GET operation on the following URL: URL Descritpion myqcsreststatisticsfeed Get system statistics data. Authentication This method requires authentication. Only administrator ...

Permission: lq851

Overview Many operations in the API require the user to have an entitlement for accessing or modifying content in the system. These entitlements are expressed as a set of generic permissions on each resource. Permission Rights The following permission rights are defined: Permission ...

API conventions: lq851

p The IBM Lotus Quickr strongDocumentsstrong interfaces allow you to access and update the same information you can access and update in the Quickr web and connector user interfaces. The application programming interfaces (APIs) are access over HTTP so they can work over your network from ...

Operation tunneling: lq851

Overview When PUT and DELETE requests cannot be made directly, they can be tunneled via POST requests. This implementation looks for a special header XMethodOverride to identify the intended operation in a POST request. Below is an example of a PUT request that is tunneled via a POST ...

Community articleTechnical Preview: Retrieve all working drafts in a library

Added by IBM contributor Rui BJ Yang on April 6, 2011 | Version 1
expanded Abstract
collapsed Abstract
No abstract provided.
Tags:
ShowTable of Contents
HideTable of Contents
  • 1 Overview
  • 2 URL endpoints
  • 3 Authentication
  • 4 Arguments
  • 5 Error Codes
  • 6 Example Request
  • 7 Example Response

Overview


This is the specification for applications that retrieve lists of all working Draft resources contained by a Library.

URL endpoints

Perform a GET operation on one of the following URL formats:

URL
Description
/library/{library-id}/view/WorkingDrafts/feed
Retrieve resources contained by a library given its id



Authentication

This method does not require authentication to retrieve public resources. If authentication is provided, the user must have 'View' authority on the specified resource.

Arguments

The following URL arguments are supported on this operation. The default value for any argument is marked as bold in the table below.

Argument
Values
Description
pageSize
number (10,20, etc.)
Specifies number of items to include in a paged request
page
number (1, 2, 3, etc.)
Specifies page to be retrieved assuming constant page size
sK
string {title | totalMediaSize|created | updated | published | modified | desc | downloaded}
value to sort the response
sO
string (asc, dsc)
Specifies the order of the sort as either ascending or descending
sI
number (1, 5, 10, etc.)
Specifies the start index in the collection from which the results should be returned. Ignored if page is provided
includeLocked
boolean (true, false)
if true, adds an entry extension showing if document is locked
includeLockOwner boolean true, false) if true, adds an entry extension showing who holds the lock
includePropertySheets boolean (true, false) Specifies if the property sheet field values are returned


Error Codes

Error Code
Description
Unknown
Returned when the cause of an error is unknown
AccessDenied
Returned when the cause of an error is due to a permission restriction
ItemNotFound
Returned when the cause of an error is related to a resource not being found
UnsupportedOperation
Returned when the operation is not supported


Example Request



GET /dm/atom/library/_Pplace2_Rmain.nsf/view/WorkingDrafts/feed HTTP/1.1


Example Re

sponse

<feed xml:base="http://yr.cn.ibm.com/" xmlns="http://www.w3.org/2005/Atom" xmlns:td="urn:ibm.com/td" xmlns:snx="http://www.ibm.com/xmlns/prod/sn">
  <title type="text">Working Drafts</title>
  <updated>2011-04-02T06:23:37Z</updated>
  <author>
    <name>Testuser7</name>
    <uri>CN=Testuser7,o=Notesdev,c=US</uri>
    <email>Testuser7@us.ibm.com</email>
  </author>
  <id>urn:lsid:ibm:com:td:_Pplace2_Rmain_FD8D8869EA3CABE638525723E007BD700</id>
  <td:uuid>_Pplace2_Rmain_FD8D8869EA3CABE638525723E007BD700</td:uuid>
  <link href="dm/atom/library/_Pplace2_RMain/view/_Pplace2_Rmain_FD8D8869EA3CABE638525723E007BD700/feed" rel="self"/>
  <link href="LotusQuickr/place2/main.nsf/h_Toc/?OpenDocument" rel="alternate"/>
  <generator uri="LotusQuickr/place2/main.nsf/h_Toc/?OpenDocument"  version="851002.003" >LotusQuickr</generator>
  <serverdate>2011-04-06T04:10:53Z</serverdate>
  <entry xmlns:td="urn:ibm.com/td">
    <id>urn:lsid:ibm:com:td:_Pplace2_Rmain_D2D5BA73EB1B04ABB4825785A00104CCD</id>
    <td:uuid>_Pplace2_Rmain_D2D5BA73EB1B04ABB4825785A00104CCD</td:uuid>
    <link href="dm/atom/library/_Pplace2_RMain/draftpage/_Pplace2_Rmain_D2D5BA73EB1B04ABB4825785A00104CCD/entry" rel="self"/>
    <link href="LotusQuickr/place2/main.nsf/D8D8869EA3CABE638525723E007BD700/2D5BA73EB1B04ABB4825785A00104CCD/?OpenDocument" rel="alternate"/>
    <link href="dm/atom/library/_Pplace2_RMain/draftpage/_Pplace2_Rmain_D2D5BA73EB1B04ABB4825785A00104CCD/feed" rel="current"/>
    <link href="dm/atom/library/_Pplace2_RMain/draftpage/_Pplace2_Rmain_D2D5BA73EB1B04ABB4825785A00104CCD/entry" rel="edit"/>
    <content  type="application/atom+xml"  src="dm/atom/library/_Pplace2_RMain/draftpage/_Pplace2_Rmain_D2D5BA73EB1B04ABB4825785A00104CCD/feed" />
    <category  term="draftpage"  scheme="tag:ibm.com,2006:td/type"  label="draftpage" />
    <title type="text">mypage-draft</title>
    <summary type="text">
      <![CDATA[This is my page]]>
      </summary>
    <published>2011-03-21T02:58:08Z</published>
    <updated>2011-03-21T02:58:08Z</updated>
    <author>
      <name>Testuser7</name>
      <uri>CN=Testuser7/O=Notesdev/C=US</uri>
      <email>Testuser7@us.ibm.com</email>
    </author>
    <td:created>2011-03-18T08:15:57Z</td:created>
    <td:modified>2011-03-21T02:58:08Z</td:modified>
    <td:documenttype>30DF3123AEFAF358052567080016723D</td:documenttype>
    <td:modifier>
      <td:name>Testuser7</td:name>
      <td:uri>CN=Testuser7/O=Notesdev/C=US</td:uri>
      <td:email>Testuser7@us.ibm.com</td:email>
    </td:modifier>
    <td:responseCount>0</td:responseCount>
    <td:depth>0</td:depth>
  </entry>
  <entry xmlns:td="urn:ibm.com/td">
    <id>urn:lsid:ibm:com:td:_Pplace2_Rmain_D2A046A9BFE3BEA514825785A00107BC1_Aupload_202_20attach.txt</id>
    <td:uuid>_Pplace2_Rmain_D2A046A9BFE3BEA514825785A00107BC1_Aupload_202_20attach.txt</td:uuid>
    <link href="dm/atom/library/_Pplace2_RMain/draft/_Pplace2_Rmain_D2A046A9BFE3BEA514825785A00107BC1_Aupload_202_20attach.txt/entry" rel="self"/>
    <link href="LotusQuickr/place2/main.nsf/D8D8869EA3CABE638525723E007BD700/2A046A9BFE3BEA514825785A00107BC1/?OpenDocument" rel="alternate"/>
    <link href="dm/atom/library/_Pplace2_RMain/draft/_Pplace2_Rmain_D2A046A9BFE3BEA514825785A00107BC1_Aupload_202_20attach.txt/feed" rel="current"/>
    <link href="dm/atom/library/_Pplace2_RMain/draft/_Pplace2_Rmain_D2A046A9BFE3BEA514825785A00107BC1_Aupload_202_20attach.txt/entry" rel="edit"/>
    <content  type="application/atom+xml"  src="dm/atom/library/_Pplace2_RMain/draft/_Pplace2_Rmain_D2A046A9BFE3BEA514825785A00107BC1_Aupload_202_20attach.txt/feed" />
    <link href="dm/atom/library/_Pplace2_RMain/draft/_Pplace2_Rmain_D2A046A9BFE3BEA514825785A00107BC1_Aupload_202_20attach.txt/media" type="text/plain" title="upload 2 attach.txt" length="50" rel="edit-media"/>
    <link href="dm/atom/library/_Pplace2_RMain/draft/_Pplace2_Rmain_D2A046A9BFE3BEA514825785A00107BC1_Aupload_202_20attach.txt/media" type="text/plain" title="upload 2 attach.txt" length="50" rel="enclosure"/>
    <link href="dm/atom/library/_Pplace2_RMain/draft/_Pplace2_Rmain_D2A046A9BFE3BEA514825785A00107BC1_Aupload_202_20attach.txt/media" type="text/plain" title="upload 2 attach.txt" length="50" rel="attachment0"/>
    <category  term="draft"  scheme="tag:ibm.com,2006:td/type"  label="draft" />
    <title type="text">upload 2 attach</title>
    <summary type="text">
      <![CDATA[]]>
      </summary>
    <published>2011-03-14T05:25:50Z</published>
    <updated>2011-03-14T05:25:50Z</updated>
    <author>
      <name>Testuser7</name>
      <uri>CN=Testuser7/O=Notesdev/C=US</uri>
      <email>Testuser7@us.ibm.com</email>
    </author>
    <td:created>2011-03-14T05:25:50Z</td:created>
    <td:modified>2011-03-14T05:25:50Z</td:modified>
    <td:documenttype>94913AFBEAB46DA8052576A1006611BC</td:documenttype>
    <td:modifier>
      <td:name>Testuser7</td:name>
      <td:uri>CN=Testuser7/O=Notesdev/C=US</td:uri>
      <td:email>Testuser7@us.ibm.com</td:email>
    </td:modifier>
    <td:responseCount>0</td:responseCount>
    <td:depth>0</td:depth>
  </entry>
  <td:totalNumber>2</td:totalNumber>
  <link href="dm/atom/library/_Pplace2_RMain/view/_Pplace2_Rmain_FD8D8869EA3CABE638525723E007BD700/feed?pageSize=10" rel="first"/>
</feed>
expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (8)
collapsed Versions (8)
Version Comparison     
VersionDateChanged by              Summary of changes
6Apr 6, 2011 4:29:20 AMRui BJ Yang  IBM contributor
6Apr 6, 2011 4:30:43 AMRui BJ Yang  IBM contributor
4Apr 6, 2011 12:20:28 AMRui BJ Yang  IBM contributor
3Apr 6, 2011 12:16:35 AMRui BJ Yang  IBM contributor
3Apr 6, 2011 12:15:52 AMRui BJ Yang  IBM contributor
2Apr 15, 2011 11:03:23 AMJames A Riel  IBM contributor
1Apr 6, 2011 12:14:13 AMRui BJ Yang  IBM contributor
This version (1)Apr 6, 2011 12:13:13 AMRui BJ Yang  IBM contributor
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX Blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use