Implementing OwnCloud API v1: Create a folder #4

Closed
opened 2017-02-07 01:10:23 -05:00 by dustinwilson · 0 comments
Owner

Create a folder

Creates a new folder and returns a new folder object

  • Method: POST
  • Route: /folders
  • Parameters:
{
  "name": "folder name"
}
  • Return codes:
  • HTTP 409: If the folder exists already
  • HTTP 422: If the folder name is invalid (for instance empty)
  • Returns:
{
  "folders": [
    {
      "id": 4,
      "name": "Media"
    }
  ]
}
## Create a folder Creates a new folder and returns a new folder object * **Method**: POST * **Route**: /folders * **Parameters**: ```js { "name": "folder name" } ``` * **Return codes**: * **HTTP 409**: If the folder exists already * **HTTP 422**: If the folder name is invalid (for instance empty) * **Returns**: ```js { "folders": [ { "id": 4, "name": "Media" } ] } ```
jking closed this issue 2017-04-02 12:14:19 -04:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

0000-12-31

Dependencies

No dependencies set.

Reference: MensBeam/Arsse#4
No description provided.