files
Get all files
Changed onReturns a list of files in the specified media directory.
get/api/files/{DirName}
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/files/{DirName}
- Authnone declared
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
- info
added the new optional
queryrequest parametermaxdepth
- info
- info
added the new optional
queryrequest parameternameOnly
- info