Product Documentation articleVersion: lq851
Added by IBM contributorYing BJ Mo | Edited by IBM contributorCraig Lordan on October 21, 2011 | Version 9
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.
Tags: API

Overview



Create a version
Delete a version
Delete versions for document
Retrieve a version
Return binary content for version

Associated operations
Restore a document

Description



A resource that exposes a set of metadata with an optional primary piece of associated media contents for a version of a document.

Entry Elements



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

Each element can appear only once, 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".


Element On Input Usage
<category term="version" scheme="tag:ibm.com,2006:td/type" label="version"/> ignored identifies a version entry
<id/> ignored unique identifier of a resource, as defined in Atom spec
<author/> ignored creator, as defined in Atom spec
<title/> optional title, as defined in Atom spec.Max length=252
<updated/> ignored last significant modified date as managed by the server, per the Atom spec
<summary type="text"/> optional description of resource, as defined in Atom spec. Max length=1024
<td:documentUuid/> ignored the id of the document this version is a version of
<td:versionLabel/> ignored version label of this version
<td:created/> ignored modifiable date for when the resource was modified on the originating file system
<td:modified/> ignored modifiable date for when the resource was created on the originating file system
<td:modifier/> ignored last modifier of resource on system
<content/> ignoredlocation of primary file contents, as defined in Atom spec
<td:uuid> ignored unique identifier of a resource not formatted as a IRI

Example Entry for Lotus Quickr 8.5 for Domino




<?xml version="1.0" encoding="utf-8" ?>
<entry xml:base="http://example.com/" xmlns="http://www.w3.org/2005/Atom" xmlns:td="urn:ibm.com/td">
  <id>urn:lsid:ibm.com:td:_Ptest002_RMain_D9C6566488BCCE6C148257853002D615C_V1</id>
  <td:uuid>_Ptest002_RMain_D9C6566488BCCE6C148257853002D615C</td:uuid>
  <link href="" rel="parent" />
  <td:label>Blue hills</td:label>
  <link href="dm/atom/library/_Ptest002_RMain/page/_Ptest002_RMain_D46DD905A03108B0F48257853002BDB79/version/1/entry" rel="self" />
  <link href="LotusQuickr/test002/Main.nsf/h_Index/46DD905A03108B0F48257853002BDB79?OpenDocument" rel="alternate" />
  <link href="dm/atom/library/_Ptest002_RMain/page/_Ptest002_RMain_D46DD905A03108B0F48257853002BDB79/version/1/entry" rel="edit" />
  <link href="dm/atom/library/_Ptest002_RMain/document/_Ptest002_RMain_D46DD905A03108B0F48257853002BDB79_ABlue_20hills.jpg/version/1/media" rel="attachment0"/>
  <category term="version" scheme="tag:ibm.com,2006:td/type" label="version" />
  <td:documentUuid>_Ptest002_RMain_D46DD905A03108B0F48257853002BDB79</td:documentUuid>
  <td:versionLabel>1</td:versionLabel>
  <author>
    <uri>CN=testuser002/O=ibm</uri>
    <name>testuser002</name>
    <email></email>
  </author>
  <td:modifier>
    <td:uri>CN=testuser002/O=ibm</td:uri>
    <td:name></td:name>
    <td:email></td:email>
  </td:modifier>
  <title type="text">Blue hills</title>
  <updated>2011-03-14T08:15:40Z</updated>
  <published>2011-03-14T08:15:40Z</published>
  <td:created>2011-03-14T08:15:40Z</td:created>
  <td:modified>2011-03-14T08:15:40Z</td:modified>
  <summary type="html">
    <![CDATA[1]]>
    </summary>
  <content type="application/atom+xml" src="dm/atom/library/_Ptest002_RMain/page/_Ptest002_RMain_D46DD905A03108B0F48257853002BDB79/version/1/feed" />
</entry>