Folders

Create a folder

Creates a folder under the root, a parentId, or a parentPath (mutually exclusive; the parent must already exist). Sibling folder names are unique case-insensitively — a duplicate name responds 409.

post/api/v1/folders

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/folders
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Request body

namestring required
parentIdstring nullable
parentPathstring nullable

Parent folder path; "/" or omitted creates under the root.

Response

The created folder.

idstring required
namestring required
parentIdstring nullable required

The parent folder's id, or null for a top-level folder.

pathstring required

The folder's full path. Paths change on rename; store ids.

Changes

No recorded changes to this operation across all 1 revision of this API.