Folders

Create a folder.

The folder name must match [\w -]+ (letters, digits, underscore, space, hyphen); other characters return 400. The resulting path (the slug joined to the parent's path with a dot) must be unique within the project, otherwise the call returns 409. Passing a parent_id that does not exist returns 404. Paths are capped at 10 levels of nesting and slugs at 64 characters.

post/folders/

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/folders/
  • Auth
    API key in header Authorization

Request body

Response

Successful Response

countinteger

Number of folders returned (0 or 1).

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status