file creation

Name Resource Description
Create txt in 'My' POST api/2.0/files/@my/text Creates a text (.txt) file in 'My Documents' section with the title and contents sent in the request
Create html in 'My' POST api/2.0/files/@my/html Creates an html (.html) file in 'My Documents' section with the title and contents sent in the request
Create file POST api/2.0/files/@my/file Creates a new file in the 'My Documents' section with the title sent in the request
Create txt in 'Common' POST api/2.0/files/@common/text Creates a text (.txt) file in 'Common Documents' section with the title and contents sent in the request
Create html in 'Common' POST api/2.0/files/@common/html Creates an html (.html) file in 'Common Documents' section with the title and contents sent in the request
Create txt POST api/2.0/files/{folderId}/text Creates a text (.txt) file in the selected folder with the title and contents sent in the request
Create html POST api/2.0/files/{folderId}/html Creates an html (.html) file in the selected folder with the title and contents sent in the request
Create file POST api/2.0/files/{folderId}/file Creates a new file in the specified folder with the title sent in the request