List items in directory

List all files and folders in a directory of the token's library.

  • With recursive=1 all items below the directory are returned; the response then only contains dirent_list (without user_perm, dir_id, repo_name, permission/star/thumbnail information).
  • With with_parents=true the items of all parent directories of path are included as well (e.g. for /a/b: /, /a and /a/b).
  • mtime is returned as ISO 8601 timestamp.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
Defaults to /

Path to the dir

string

Items' type which will be list, limit in 'f' and 'd', means file and directory

string
enum
Defaults to 0

1 to list items recursively

Allowed:
string
enum
Defaults to false

true to additionally list the items of all parent directories

Allowed:
string
enum
Defaults to false

true to return encoded_thumbnail_src for images/videos whose thumbnail already exists (not for encrypted libraries)

Allowed:
integer
Defaults to 48

Thumbnail's size

Responses

400

Invalid recursive, type, with_thumbnail, thumbnail_size or with_parents

404

Library or folder not found

Language
Credentials
Bearer
API-Token
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json