跳到主要内容

Create a file in the 'My documents' section

POST 

/api/2.0/files/@my/file

Creates a new file in the "My documents" section with the title specified in the request.

Note: If a file extension is different from DOCX/XLSX/PPTX and refers to one of the known text, spreadsheet or presentation formats, it will be changed to DOCX/XLSX/PPTX accordingly. If the file extension is not specified or is unknown, the DOCX extension will be added to the file title.

Request

Responses

New file information