Get List of Files/Folders
GET/medias/files
Fetches list of files and folders from the media storage
Request
Version stringrequired
API Version
Available options
v3offset string
Number of files to skip in listing
limit string
Number of files to show in the listing
sortBy stringrequired
Field to sorting the file listing by
sortOrder stringrequired
Direction in which file needs to be sorted
type stringrequired
Type
query string
Query text
altType stringrequired
AltType
Available options
locationaltId stringrequired
location Id
parentId string
parent id or folder id
fetchAll string
Fetch all files or folders
Successful response
- application/json
- Schema
- Example (auto)
Schema
filesstring[]required
Array of File Objects
{
"files": {
"altId": "locationId",
"altType": "location",
"name": "file name",
"parentId": "parent folder id",
"url": "file url",
"path": "file path"
}
}