Product Documentation articleRetrieve a library: lq851
Added by IBM contributorRui BJ Yang | Edited by IBM contributorCraig Lordan on October 21, 2011 | Version 7
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.

Overview

This is the specification for applications that retrieve Library resources.

URL endpoints

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

URL
Description
/library/{library-id}/entry
Retrieve 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.



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
Unsupported Operation
Returned when the operation is not supported



Example Request




GET /dm/atom/library/%5B@Pplace2/@RMain.nsf%5D/entry HTTP/1.1
Host: yourserver
Content-Type: application/x-www-form-urlencoded
Authorization: Basic...
Referer: ...


Example Response



<?xml version="1.0" encoding="utf-8"?>
<entry xml:base="http://yr.cn.ibm.com/" xmlns="http://www.w3.org/2005/Atom" xmlns:td="urn:ibm.com/td">
  <id>_Pplace2_RMain</id>
  <link href="http://yr.cn.ibm.com/dm/atom/library/_Pplace2_RMain/document/_Pplace2_RMain/entry" rel="self"></link>
  <link href="http://yr.cn.ibm.com/LotusQuickr/place2/Main.nsf/h_Toc?OpenDatabase" rel="alternate"></link>
  <link href="http://yr.cn.ibm.com/dm/atom/library/_Pplace2_RMain/document/_Pplace2_RMain/entry" rel="edit"></link>
  <category term="library" scheme="tag:ibm.com,2006:td/type" label="library"></category>
  <author>
    <uri>CN=Testuser7%2FO=Notesdev%2FC=US</uri>
    <name>Testuser7</name>
    <email>Testuser7@us.ibm.com</email>
  </author>
  <title type="text">place2</title>
  <published>2011-03-22T19:00:35Z</published>
  <updated>2011-03-22T19:00:35Z</updated>
  <td:created>2011-02-22T07:54:30Z</td:created>
  <td:modified>2011-03-22T19:00:35Z</td:modified>
  <td:modifier>
    <td:uri>CN=Testuser7%2FO=Notesdev%2FC=US</td:uri>
    <td:name>Testuser7</td:name>
    <td:email>Testuser7@us.ibm.com</td:email>
  </td:modifier>
  <summary type="text"></summary>
  <content type="application/atom+xml" src="feed"></content>
</entry>