Product Documentation articleDraft: lq851
Added by IBM contributorXiang Yu Hao | Edited by IBM contributorCraig Lordan on October 21, 2011 | Version 3
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.
Delete a draft and all contained resources

Retrieve a draft

Retrieve a list of draft related resources

Update a draft




Description

A resource that represents an unpublished document that is in a working state. It may contain resources of type Attachment, Comment.

Entry Elements

All elements are in XML namespace "http://www.w3.org/2005/Atom", except as noted.

All elements prefixed td are in the XML namespace "urn:ibm.com/td". All elements prefixed snx are in the XML namespace "http://www.ibm.com/xmlns/prod/sn".

Each element can appear only once, except as noted.


Tag
Required
Description
link rel="self"
Y
Identifies a resource equivalent to the containing element. as defined in Atom spec.
link rel= "alternate"
Y
Identifies an alternate version of the resource described by the containing element. as defined in Atom spec.
link rel= "edit"
N
Identifies the resource that is editable.
link rel= "parent"
N
Points to the parent page, parent folder or parent place.
link rel= "current"
N
The current link points to the document/page/folder feed itself.
link rel= "attachmentX"
N
If a page/document/draft has one or more than one attachment, the attachmentX (X starts from 0) url will represent the attachment itself.
link rel= "edit-media"
N
"edit-media" link accompanies "attachmentX" link. It points to the attachment itself for edit.
link rel= "enclosure"
N
The link points to document's attachment, or page feed.
link rel= "first"
N
The "first" relation references the initial Feed Document in the set.
link rel= "previous"
N
The "previous" link relation reference the preceding documents.
id
Y
Unique identifier of a resource, as defined in Atom spec.
author
Y
The feed author or entry author, the one who creates the resource. If the resource is systemic, the author field could be blank.
title
Y
The title of feed or entry.
published
N
The last modified date of entry.
updated
N
The last modified date of feed or entry.
summary
Y
The abstract of feed or entry.
td:created
Y
The creation date of entry.
td:modified
Y
The modified date of entry.
td:modifier
Y
The last editor of the entry.
category
Y
Indicates entry type, including library/page/document/draft/draftpage/folder/documentType/propertysheettype.
content
N
The link points to document's attachment, folder feed, or page feed.
td:totalNumber
N
Total number of Entries in a Feed.
generator
Y
Identifies the agent used to generate a feed, for debugging and other purposes. as defined in Atom spec.
serverdate
Y
Date of server.
source
N
Allow the aggregation of entries from different feeds while retaining information about an entry's source feed. as defined in Atom spec.
td:responseCount
N
The number of document/page's comment
name
Y
The display name of a person or a group.
td:trashid
Y
Unique identifier of a resource in trash.




Example



<entry xml:base="http://hao.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">
<id>urn:lsid:ibm.com:quickr:_Pplace11_RMain_D4134D7116BFAF45A4825787600158705</id>
<link href="http://hao.cn.ibm.com/dm/atom/library/_Pplace11_RMain/draftpage/_Pplace11_RMain_D4134D7116BFAF45A4825787600158705/entry" rel="self"/>
<link href="http://hao.cn.ibm.com/LotusQuickr/place11/Main.nsf/h_Toc/4134D7116BFAF45A4825787600158705?OpenDocument" rel="alternate"/>
<link href="http://hao.cn.ibm.com/dm/atom/library/_Pplace11_RMain/draftpage/_Pplace11_RMain_D4134D7116BFAF45A4825787600158705/entry" rel="edit"/>
<link href="dm/atom/library/_Pplace11_RMain/folder/_Pplace11_RMain_FCD0EF97D625305B90525670800167213/feed" rel="parent"/>
<link href="http://hao.cn.ibm.com/dm/atom/library/_Pplace11_RMain/draftpage/_Pplace11_RMain_D4134D7116BFAF45A4825787600158705/feed" rel="enclosure" type="application/unknown" title="drafttest1" hreflang="en" length="0"/>
<category term="draftpage" scheme="tag:ibm.com,2006:td/type" label="draftpage"/>
<td:responseCount>0</td:responseCount>
<author>
<uri>CN=wpsadmin%2Fou=Users%2Fou=Westford%2Fou=Lotus%2Fo=Software%20Group%2Fdc=lotus%2Fdc=notesdev%2Fdc=ibm%2Fdc=com</uri>
<name>wpsadmin</name>
<email>wpsadmin@cn.ibm.com</email>
</author>
<td:modifier>
<td:uri>CN=wpsadmin%2Fou=Users%2Fou=Westford%2Fou=Lotus%2Fo=Software%20Group%2Fdc=lotus%2Fdc=notesdev%2Fdc=ibm%2Fdc=com</td:uri>
<td:name>wpsadmin</td:name>
<td:email>wpsadmin@cn.ibm.com</td:email>
</td:modifier>
<title type="text">drafttest1</title>
<updated>2011-04-18T05:40:44Z</updated>
<published>2011-04-18T03:55:08Z</published>
<summary type="html">
<![CDATA[new description]]>
</summary>
<td:created>2011-04-18T03:55:08Z</td:created>
<td:modified>2011-04-18T05:40:44Z</td:modified>
</entry>