Create Folder Shares API
Request Info
Info |
Value |
Request URL |
/shares/_share_id_/folders/_folder_id_ |
Request VERB |
POST |
Request Parameters
Parameter |
Type |
Description |
name |
String |
The Name of the Folder you want to create. |
The response will be the folder as described in the
View Folder API.
Example Request in JSON
curl -X POST -H "Accept: application/json" -H "Content-Type: application/json" --user nkpIxMK9ucUUE7FvfNpdAf:x -d '{"folder":{"name":"Old Goals"}}' https://test.host/shares/project-alpha/folders/goals
Example Response in JSON
{"folder":
{
"id":"goals-old-goals",
"name":"Old Goals",
"deleted":false,
"share_id":"project-alpha",
"parent_folder_id":"goals",
"created_at":"2017-01-11T07:52:38.853Z",
"updated_at":"2017-01-11T07:52:38.853Z"
}
}