Get item list of folder contents

Lists metadata for the files and folders for a given folder.

URL

GET /files

Query Parameters

Name
Description
parentId
The folder ID. To get the metadata of the root directory, use the value ‘/’.
max
The maximum number of items to return. Used for pagination.
offset
The page offset, used in conjunction with ‘max’.

Response

JSON containing a list of files and folders. The metadata for each item is the same that returned by the /metadata endpoint.

Example: https://www.acme.com/api/files?parentId=123456

[
{
title:"Folder A",
kind:"folder"
id":"2lj23lkj",
viewLink:" https://www.acme.com/viewDocument?id=2lj23lkj ",
downloadLink:"https://www.acme.com/downloadDocument?id=2lj23lkj",
mimeType:"",
dateModified:"2014­06­05T17:39:45.251Z"
size: ""
},
{
title:"My Document",
kind:"file"
id":"da8cj234",
viewLink:" https://www.acme.com/viewDocument?id=da8cj234 ",
downloadLink:"https://www.acme.com/downloadDocument?id=da8cj234",
mimeType:"image/png",
dateModified:"2014­06­05T17:39:45.251Z"
size: "32554694"
}
]
recommendation-more-help
5f00cc6b-2202-40d6-bcd0-3ee0c2316b43