post
https://{server}/api/v2.1/via-repo-token/dir/
Create, rename or revert a directory. Requires a token with rw permission.
mkdir: creates the directory given inpath. If an item with the same name exists, the new directory is renamed automatically (e.g.folder (1)).rename: renames the directory inpathtonewname(renamed automatically on name conflicts).revert: restores the directory inpathfrom the commitcommit_id.
The root directory / cannot be used.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
400Invalid path, operation, newname or commit_id
403Permission denied (token without rw permission)
404Library or folder not found