files

Get all files

Returns a list of files in the specified media directory.

get/api/files/{DirName}

Query parameters

nameOnlyboolean

When 1, return a flat array of filenames instead of the default object envelope

maxdepthinteger

Limit recursion depth (default: unlimited)

Response

Listing of files

object required

Changes

Changed in 3 of the 49 revisions of this API.12