Operation directory

Create, rename or revert a directory. Requires a token with rw permission.

  • mkdir: creates the directory given in path. If an item with the same name exists, the new directory is renamed automatically (e.g. folder (1)).
  • rename: renames the directory in path to newname (renamed automatically on name conflicts).
  • revert: restores the directory in path from the commit commit_id.

The root directory / cannot be used.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

Path to the dir (must start with /, not /)

Body Params
string
enum
required
Allowed:
string

Required for rename

string

Required for revert

Responses

400

Invalid path, operation, newname or commit_id

403

Permission denied (token without rw permission)

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