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 contributorTao YT Yan
Contribution Summary:
  • Articles authored: 18
  • Articles edited: 0
  • Comments Posted: 0

Recent articles by this author

Authentication: lq851

Overview Many operations in the API require authentication. Authentication is required for all collections that contain different items depending on the requesting user as well as all update operations. Some operations in the API do not require authentication and will return any content that ...

Dates: lq851

Overview In order to allow users to preserve the original created and last modified dates on the content independent of the dates used to track system changes, many resource types expose an extension to support user modifiable creation and modification dates. {code:1000} ! User ...

About this service: lq851

Overview Any service operation that returns an Atom feed produced by the API must contain a valid Atom generator tag. The generator tag can be used to determine information about the service provider. It is intended to provide a simple mechanism for a client to determine the product release, ...

HTTP request headers: lq851

Overview The following table shows the headers that are recognized, wherever applicable on each operation. Header Description Slug Contains path and title of the resource. NonASCII characters can appear in this header. But they must be properly encoded according to the RFC 2047. ...

Retrieve all drafts to approve in a library: lq851

Overview This is the specification for applications that retrieve lists of all Draft resources to approve contained by a Library. URL endpoints Perform a GET operation on one of the following URL formats: URL Description library{libraryid}viewReviewDraftsfeed Retrieve resources ...

Community articleTechnical Preview: Retrieve all submitted drafts in a library

Added by IBM contributor Tao YT Yan | Edited by IBM contributor Tao YT Yan on April 7, 2011 | Version 2
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: API
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 submitted 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/SubmittedDrafts/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 | created | updated | published | modified }
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
acls
boolean { true | false }
Specifies if the authenticated users permissions are returned each library

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 http://example.com/dm/atom/library/_Papiplace2_RMain.nsf/view/SubmittedDrafts/feed HTTP/1.1
Accept: */*
Accept-Language: en-us,ar-SA;q=0.7,zh-CN;q=0.3
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded


Example Response



HTTP/1.1 200 OK
Server: Lotus-Domino
Content-Type: application/atom+xml
Content-Length: 2817
Content-Disposition: inline; filename="feed"
X-Server: Lotus Domino

<?xml version="1.0" encoding="utf-8" ?>
<feed xml:base="http://example.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">Submitted Drafts</title>
<updated>2011-04-06T02:14:07Z</updated>
<author>
<name>Susan Adams262</name>
<uri>uid=SusanAdams262,cn=Users,l=Westford,st=Massachusetts,c=US,ou=Lotus,o=Software%20group,dc=ibm,dc=com</uri>
<email>susanAdams262@cn.ibm.com</email>
</author>
<id>urn:lsid:ibm:com:td:_Papiplace2_RMain_FD8D8869EA3CABE638525723E007BD700</id>
<td:uuid>_Papiplace2_RMain_FD8D8869EA3CABE638525723E007BD700</td:uuid>
<link href="dm/atom/library/_Papiplace2_RMain/view/_Papiplace2_RMain_FD8D8869EA3CABE638525723E007BD700/feed" rel="self"/>
<link href="LotusQuickr/apiplace2/Main.nsf/h_Toc/?OpenDocument" rel="alternate"/>
<generator uri="LotusQuickr/apiplace2/Main.nsf/h_Toc/?OpenDocument"  version="852000.000" >LotusQuickr</generator>
<serverdate>2011-04-07T02:36:16Z</serverdate>
<entry xmlns:td="urn:ibm.com/td">
<id>urn:lsid:ibm:com:td:_Papiplace2_RMain_DDDEC586FD656F0854825786B000E2E32</id>
<td:uuid>_Papiplace2_RMain_DDDEC586FD656F0854825786B000E2E32</td:uuid>
<link href="dm/atom/library/_Papiplace2_RMain/draftpage/_Papiplace2_RMain_DDDEC586FD656F0854825786B000E2E32/entry" rel="self"/>
<link href="LotusQuickr/apiplace2/Main.nsf/D8D8869EA3CABE638525723E007BD700/DDEC586FD656F0854825786B000E2E32?OpenDocument" rel="alternate"/>
<link href="dm/atom/library/_Papiplace2_RMain/draftpage/_Papiplace2_RMain_DDDEC586FD656F0854825786B000E2E32/feed" rel="current"/>
<link href="dm/atom/library/_Papiplace2_RMain/draftpage/_Papiplace2_RMain_DDDEC586FD656F0854825786B000E2E32/entry" rel="edit"/>
<content  type="application/atom+xml"  src="dm/atom/library/_Papiplace2_RMain/draftpage/_Papiplace2_RMain_DDDEC586FD656F0854825786B000E2E32/feed" />
<category  term="draftpage"  scheme="tag:ibm.com,2006:td/type"  label="draftpage" />
<title type="text">workflow 1</title>
<summary type="text"><![CDATA[]]></summary>
<published>2011-04-07T02:34:53Z</published>
<updated>2011-04-07T02:34:53Z</updated>
<author>
<name>Susan Adams262</name>
<uri>uid=SusanAdams262/ou=Users/l=Westford/st=Massachusetts/c=US/ou=Lotus/o=Software group/dc=ibm/dc=com</uri>
</author>
<td:created>2011-04-07T02:34:53Z</td:created>
<td:modified>2011-04-07T02:34:53Z</td:modified>
<td:documenttype>1FD50918326905554825786B000CFE1A</td:documenttype>
<td:modifier>
<td:name>Susan Adams262</td:name>
<td:uri>uid=SusanAdams262/ou=Users/l=Westford/st=Massachusetts/c=US/ou=Lotus/o=Software group/dc=ibm/dc=com</td:uri>
</td:modifier>
<td:responseCount>0</td:responseCount>
<td:depth>0</td:depth>
</entry>
<td:totalNumber>1</td:totalNumber>
<link href="dm/atom/library/_Papiplace2_RMain/view/_Papiplace2_RMain_FD8D8869EA3CABE638525723E007BD700/feed?pageSize=10" rel="first"/></feed>
expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (6)
collapsed Versions (6)
Version Comparison     
VersionDateChanged by              Summary of changes
4Apr 12, 2011 2:45:00 AMTao YT Yan  IBM contributor
3Apr 12, 2011 2:34:05 AMTao YT Yan  IBM contributor
This version (2)Apr 7, 2011 12:35:55 AMTao YT Yan  IBM contributor
2Apr 15, 2011 11:04:02 AMJames A Riel  IBM contributor
1Apr 5, 2011 10:26:21 PMTao YT Yan  IBM contributor
1Apr 5, 2011 10:56:19 PMTao YT Yan  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