file creation

Name Resource Description
Create text file 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 file 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 text file 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 file 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 text file 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 file 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