Does Documentum Rest Service supports folder download.
Comments
-
yes, you can download entire cabinet/folder and its direct contents(documents) use
GET
http://localhost:8181/dctm-rest/repositories/myRepo/archived-contents?object-id=cabinet_or_folder_document_r_objectIdto get cabinet/folder alongwith its nested contents use:
POST and send required payloadDocumentum Platform REST Service guide page 97 has all info with examples
0 -
Thank you Johnny!!
I checked the topic "Common Tasks on Folders, Documents, and Contents" but I couldn't find details with folder/subfolder or Cabinet/Folder Download. I can see get methods used for retrieving the details for folder and document For post methods I can see update and create Documents with content.
0 -
To get cabinet/folder along with its nested contents:Along with the Post request as part of payload, should I pass the properties?
When I use the GET request , I am able to download the top folder with zip sub folders are missing.I am not sure about the payload need to be passed with POST request.
0 -
in Documentum Platform REST Services 16.4 Reference Guide.pdf, please refer to page 96, 97
Get Multiple Object’s Contents
HTTP Request Method and Query Parameters
Retrieves the first page of contents or all of the contents for multiple objects in ZIP file format. When
an object is a folder (or a subtype of dm_folder), the REST server gets the contents of those objects
(dm_sysobject) that are under that folder. When this is the case, virtual documents are treated
as simple documents.Request Media Types
application/vnd.emc.documentum+jsonHTTP
Method
Query
Parameters Description Data
Type Value Range Default
Value
format Specifies the file format of the
contents that is retrieved. string
Any format that
is registered
in the Format
table of the
repository
null
POST
all-contents
Determines whether to retrieve
all of the object’s contents, or
only retrieve the first page
contents.
boolean true, false falseexample payload:
Example 2-22. JSON Request
{
"hrefs":
[
"http://localhost:8080/dctm-rest/repositories/REPO/objects/090004d280005520",
"http://localhost:8080/dctm-rest/repositories/REPO/documents/090004d280005521",
"http://localhost:8080/dctm-rest/repositories/REPO/folders/0b0004d2800060e8"
]
}0 -
Thank you Charan for the information.It helped a lot.
I was able to download the folders as zip by providing the required payload if the folder has a document inside it.
But if the folder is blank, the same folder doesn't download and is missing as the part of zip file.
Also is there a way to get the entire blank folder structure downloaded as zip for a complex folder.0 -
I wanted to see if my Syntax is correct. https://(SERVER)/dctm-rest/repositories/(REPO)/archived-contents?object-id=0b02d154801f2e70
When I try this I get a 500 error saying the ID, Name doesn't exist.
When I just navigate to the location it is definitely there, and with a single file in it.
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 145 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management