CMIS Webservice
From KnowledgeTree Document Management Made Simple
Contents |
Service Document
The webservice endpoint will return a service document which should look like this (certain information may change):
<workspace cmis:repositoryRelationship="self">
<atom:title>KnowledgeTree DMS</atom:title>
<cmis:repositoryInfo>
<cmis:repositoryId>0ad7de04-7914-41b1-b5ee-be9f0b626437</cmis:repositoryId>
<cmis:repositoryName>KnowledgeTree DMS</cmis:repositoryName>
<cmis:repositoryRelationship>self</cmis:repositoryRelationship>
<cmis:repositoryDescription>KnowledgeTree Repository</cmis:repositoryDescription>
<cmis:vendorName>KnowledgeTree</cmis:vendorName>
<cmis:productName>KnowledgeTree Document Management System</cmis:productName>
<cmis:productVersion>3.6.2</cmis:productVersion>
<cmis:rootFolderId>http://localhost/webservice/atompub/cmis/?dms/folder/Root%20Folder</cmis:rootFolderId>
<cmis:capabilities>
<cmis:capabilityMultifiling>false</cmis:capabilityMultifiling>
<cmis:capabilityUnfiling>false</cmis:capabilityUnfiling>
<cmis:capabilityVersionSpecificFiling>false</cmis:capabilityVersionSpecificFiling>
<cmis:capabilityPWCUpdateable>false</cmis:capabilityPWCUpdateable>
<cmis:capabilityPWCSearchable>false</cmis:capabilityPWCSearchable>
<cmis:capabilityAllVersionsSearchable>false</cmis:capabilityAllVersionsSearchable>
<cmis:capabilityQuery>None</cmis:capabilityQuery>
<cmis:capabilityFullText>None</cmis:capabilityFullText>
<cmis:capabilityJoin>NoJoin</cmis:capabilityJoin>
</cmis:capabilities>
<cmis:cmisVersionsSupported>0.61c</cmis:cmisVersionsSupported>
<cmis:repositorySpecificInformation>
</cmis:repositorySpecificInformation>
</cmis:repositoryInfo>
<collection href="http://localhost/webservice/atompub/cmis/?dms/folder/Root%20Folder/children/" cmis:collectionType="rootchildren">
<atom:title>Root Folder Children Collection</atom:title>
</collection>
<collection href="http://localhost/webservice/atompub/cmis/?dms/folder/Root%20Folder/descendants/" cmis:collectionType="rootdescendants">
<atom:title>Root Folder Children Collection</atom:title>
</collection>
<collection href="http://localhost/webservice/atompub/cmis/?dms/checkedout/" cmis:collectionType="checkedout">
<atom:title>Checked Out Document Collection</atom:title>
<accept>application/atom+xml;type=entry</accept>
</collection>
<collection href="http://localhost/webservice/atompub/cmis/?dms/types/" cmis:collectionType="typeschildren">
<atom:title>Object Type Collection</atom:title>
</collection>
<collection href="http://localhost/webservice/atompub/cmis/?dms/types/" cmis:collectionType="typesdescendants">
<atom:title>Object Type Collection</atom:title>
</collection>
</workspace>
Each collection link will return an AtomPub feed containing content for that collection type.
Service Document Collections
rootchildren
This collection contains the immediate children (documents or folders) of the root folder.
rootdescendants
This collection contains the descendant tree (documents, folders, sub-folders) of the root folder.
The default depth is 1. At this depth the results are identical to those of root-children. The current AtomPub implementation does not allow submission of a user defined depth value, so this collection will always default back to the same results as root-children. Browsing of the tree can be done on a folder by folder basis, each folder issuing a call to retrieve the root-children collection in order to expose the next level.
Support for retrieving a tree to a user defined depth will be added in the future.
checkedout
This functionality is not currently supported. This collection will always return empty.
Support for retrieving the collection of checked out documents will be added in the future.
typeschildren
KnowledgeTree does not currently have any child types available. This collection will always return the base types collection.
typesdescendants
KnowledgeTree does not currently have any descendant types available. This collection will always return the base types collection.
del.icio.us
reddit

