1. dirs
Api
  • v1
    • files
      • upload
      • remove
      • findOne
      • update
      • download
    • dirs
      • findOne
        GET
      • remove
        DELETE
      • update
        PATCH
      • download
        GET
      • create
        POST
      • listItems
        GET
    • auth
      • login
      • register
    • usage
      GET
  • Schemas
    • v1
      • common
        • ErrorResponse
      • files
        • File
        • UpdateFileRequest
      • dirs
        • CreateDirectoryRequest
        • Directory
        • DirectoryItem
        • UpdateDirectoryRequest
      • auth
        • RegisterUserRequest
        • LoginUserRequest
        • RegisterUserResponse
        • LoginUserResponse
      • usage
  1. dirs

create

Developing
POST
/v1/directories

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🔴500InternalServerError
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8080/v1/directories' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Name": "string",
    "ParentId": "string"
}'
Response Response Example
200 - Example 1
{}
Modified at 2026-03-25 09:16:39
Previous
download
Next
listItems
Built with