Get and search files
Get and search files in your IM Cloud Storage
POST
https://api.imagemash.io/v1/storage/getFiles
Headers
Name
Type
Description
apikey*
Your API Key
Request Body
Name
Type
Description
searchQuery
A case insensitive search string. If not present or value is *
, then it will get all files.
Default: *
limit
Integer
Maximum number of entities to return in response.
Min: 1
Max: 1000
Default: 1000
skip
Integer
Number of entities to skip from the beginning of the query.
Min: 0
Default: 0
sort
String
Order of the entities. It can be asc
(A-Z) or desc
(Z-A)
Default: asc
sortBy
String
Field name to be sorted by. Possible fields are: name
, width
, height
, format
, size
, updatedAt
, createdAt
Default: createdAt
folder
String
Specific folder to look for files. Eg. /brand_1/logos
or for searching in home directory just /
Default: *
Example Codes
Last updated