Skip to main content
Media Files/FoldersVersion: v3

Get List of Files/Folders

GET/medias/files

Fetches list of files and folders from the media storage

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:medias.readonly
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3

Query Parameters

offsetstring

Number of files to skip in listing

Example:5
limitstring

Number of files to show in the listing

Example:10
sortBystringrequired

Field to sorting the file listing by (e.g. updatedAt, name)

Example:updatedAt
sortOrderstringrequired

Direction in which file needs to be sorted

Example:asc
typestringrequired

Type

Example:file
querystring

Query text

Example:Test file
altTypestringrequired

AltType

Available optionslocation
Example:location
altIdstringrequired

location Id

parentIdstring

parent id or folder id

fetchAllstring

Fetch all files or folders

Example:false

Response

Successful response

filesstring[]required

Array of File Objects