ShowTable of Contents
Document Services Overview
The Document Services APIs allow other programs to be integrated with IBM Lotus Quickr document-oriented applications. Application programmers can use the API to build programs that use Lotus Quickr data to add new capabilities to the features provided by Lotus Quickr.
API programs and feed reader programs can also use the Atom syndication format to subscribe to various views of Lotus Quickr data to keep informed of updates and new content. In addition, new content can be created and existing content modified with the API.
Service Providers
The list of documented services providers and their supported component types is described in the following table according to the release the implementation was first introduced.
J2EE | Provider | Component Types |
| 8.0 | IBM Lotus Quickr Services for WebSphere Portal | Document Library |
| 8.0 | IBM Lotus Quickr Services for WebSphere Portal | Wiki |
| 8.1.1 | IBM Lotus Quickr Services for WebSphere Portal | Blog |
| 8.1.1 | IBM Lotus Quickr Services for Lotus Domino | Document Library |
| 8.1.1 | IBM FileNet Services for Lotus Quickr 1.0.0.0 | Document Library |
| 8.1.1 | IBM Content Manager Services for Lotus Quickr 1.0.0.0 | Document Library |
- NOTE: These services are technical preview for FileNet and Content Manager in Lotus Quickr 8.1.1.
API Conventions
Resources and Collections
The API defines a set of resources. Each documented resource type is described in the following section according to the release the resource was first introduced.
J2EE | Resource | Description |
8.0 | | A resource that contains a free-form opinion about a related Document or Draft resource. |
8.5 | | A resource that exposes a set of metadata with an optional primary piece of associated media contents. |
8.0 | | A resource that represents an unpublished document that is in a working state. |
8.0 | | A collection that may contain resources of type Folder or Document that imposes a unique file-system mapped label for child content. |
8.5 | | Top level container for all content |
8.5 | | A resource that defines the starting template, behavior, and attributes applied to a Document. |
8.1.1 | | A resource that defines a user-defined set of extended attributes. |
8.1.1 | | A resource that defines a content-replication request |
| 8.1.1 | Query | A resource that defines a dynamic query for document related content |
Operations
Each operation is focused around a HTTP request to a specific URL endpoint. The following operations are supported. View the details for each operation for the set of supported HTTP headers and URL arguments as well as a example use of the API.
Server Operations
J2EE | URI | Method | Input/Output Format | Description |
8.0 | /introspection | GET | service document | |
| 8.1 | /documents/feed | GET | atom feed (Document) | Retrieve all documents |
8.1.1 | /sync/feed | POST | | |
8.1.1 | /query/feed | POST | | |
Library Operations
J2EE | URI | Method | Input/Output Format | Description |
8.0 | /library/\{library-id\}/entry | GET | | |
8.0 | /library/\{library-id\}/entry | PUT | | |
8.0 | /library/\{library-id\}/feed | GET | | |
8.0 | /library/\{library-id\}/feed | POST | | |
8.0 | /library/\{library-id\}/feed | POST | | |
8.0 | /library/\{library-id\}/feed | POST | | |
8.0 | /library/\{library-id\}/feed | POST | binary media contents | |
| 8.1 | /libraries/feed | GET | atom feed (Library) | Retrieve list of libraries |
Folder Operations
J2EE | URI | Method | Input/Output Format | Description |
8.0 | /library/\{library-id\}/folder/\{folder-id\}/entry | GET | | |
8.0 | /library/\{library-id\}/folder/\{folder-id\}/entry | PUT | | |
8.0 | /library/\{library-id\}/folder/\{folder-id\}/entry | DELETE | | |
8.0 | /library/\{library-id\}/folder/\{folder-id\}/feed | GET | | |
8.0 | /library/\{library-id\}/folder/\{folder-id\}/feed | POST | | |
8.0 | /library/\{library-id\}/folder/\{folder-id\}/feed | POST | | |
| 8.0 | /library/\{library-id\}/folder/\{folder-id\}/feed | POST | binary media contents | Create a document |
Document Operations
J2EE | URI | Method | Input/Output Format | Description |
8.0 | /library/\{library-id\}/document/\{document-id\}/entry | GET | | |
8.0 | /library/\{library-id\}/document/\{document-id\}/entry | PUT | | |
8.0 | /library/\{library-id\}/document/\{document-id\}/entry | DELETE | | |
8.0 | /library/\{library-id\}/document/\{document-id\}/feed | GET | | |
8.0 | /library/\{library-id\}/document/\{document-id\}/media | GET | | |
8.0 | /library/\{library-id\}/document/\{document-id\}/feed | POST | | |
Draft Operations
J2EE | URI | Method | Input/Output Format | Description |
8.0 | /library/\{library-id\}/draft/\{draft-id\}/entry | GET | | |
8.0 | /library/\{library-id\}/draft/\{draft-id\}/entry | PUT | | |
8.0 | /library/\{library-id\}/draft/\{draft-id\}/entry | DELETE | | |
8.0 | /library/\{library-id\}/draft/\{draft-id\}/feed | GET | | |
8.0 | /library/\{library-id\}/draft/\{draft-id\}/media | GET | | |
8.0 | /library/\{library-id\}/draft/\{draft-id\}/feed | POST | | |
Document Type Operations
J2EE | URI | Method | Input/Output Format | Description |
8.1.1 | /library/\{library-id\}/documenttypes/\{documenttype-id\}/entry | GET | | |
8.1.1 | /library/\{library-id\}/documenttypes/\{documenttype-id\}/entry | PUT | | |
8.1.1 | /library/\{library-id\}/documenttypes/\{documenttype-id\}/entry | DELETE | | |
8.1.1 | /library/\{library-id\}/documenttypes/feed | POST | | |
8.1.1 | /library/\{library-id\}/documenttypes/feed | GET | | |
Property Sheet Type Operations
J2EE | URI | Method | Input/Output Format | Description |
8.1.1 | /library/\{library-id\}/propertysheettypes/\{propertysheettype-id\}/entry | GET | | |
8.1.1 | /library/\{library-id\}/propertysheettypes/\{propertysheettype-id\}/entry | PUT | | |
8.1.1 | /library/\{library-id\}/propertysheettypes/\{propertysheettype-id\}/entry | DELETE | | |
8.1.1 | /library/\{library-id\}/propertysheettypes/feed | POST | | |
8.1.1 | /library/\{library-id\}/propertysheettypes/feed | GET | | |
Comment Operations
J2EE | URI | Method | Input/Output Format | Description |
8.0 | /library/\{library-id\}/document/\{document-id\}/comment/\{comment-id\}/entry | GET | | |
8.0 | /library/\{library-id\}/document/\{document-id\}/comment/\{comment-id\}/entry | PUT | | |
8.0 | /library/\{library-id\}/document/\{document-id\}/comment/\{comment-id\}/entry | DELETE | | |
8.0 | /library/\{library-id\}/document/\{document-id\}/comment/\{comment-id\}/media | GET | | |
8.0 | /library/\{library-id\}/draft/\{draft-id\}/comment/\{comment-id\}/entry | GET | | |
8.0 | /library/\{library-id\}/draft/\{draft-id\}/comment/\{comment-id\}/entry | PUT | | |
8.0 | /library/\{library-id\}/draft/\{draft-id\}/comment/\{comment-id\}/entry | DELETE | | |
8.0 | /library/\{library-id\}/draft/\{draft-id\}/comment/\{comment-id\}/media | GET | | |
View Operations
J2EE | URI | Method | Input/Output Format | Description |
| 8.0 | /library/\{library-id\}/view/\{view-id\}/feed | GET | | |
| 8.0 | /library/\{library-id\}/view/AllDocuments/feed | GET | | |
| 8.0 | /library/\{library-id\}/view/WorkingDrafts/feed | GET | | |
| 8.0 | /library/\{library-id\}/view/SubmittedDrafts/feed | GET | | |
| 8.0 | /library/\{library-id\}/view/ReviewDrafts/feed | GET | | |
| 8.0 | /library/\{library-id\}/view/CheckedOut/feed | GET | | |
| 8.1.1 | /library/\{library-id\}/views/feed | GET | atom feed (View) | Retrieve a list of views |