Follow
Create a folder

Creates a folder in a given directory.

URL

POST /createFolder

Query Parameters

Name  Description
parentId  The folder ID in which the folder should be created
name  The name of the new folder

 

Response

The metadata for the newly created folder, as defined by the /metadata endpoint.

Example

POST https://www.acme.com/api/createFolder ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­

-------------------------------

parentId=1234

name=New Folder ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­

-------------------------------

returns

{

title:"New Folder",

kind:"folder"

id":"5678",

viewLink:"”,

downloadLink:"",

mimeType:"",

dateModified:"2014­06­05T17:39:45.251Z"

size: ""

}