files

Name Resource Description
Add template files POST api/2.0/files/templates Adds files with the IDs specified in the request to the template list.
Change version history PUT api/2.0/files/file/{fileId}/history Changes the version history of a file with the ID specified in the request.
Check the form draft POST api/2.0/files/masterform/{fileId}/checkfillformdraft Checks if the current file is a form draft which can be filled out.
Copy a file POST api/2.0/files/file/{fileId}/copyas Copies (and converts if possible) an existing file to the specified folder.
Create a file POST api/2.0/files/{folderId}/file Creates a new file in the specified folder with the title specified in the request.
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.
Create a text file in the "My documents" section POST api/2.0/files/@my/text Creates a text (.txt) file in the "My documents" section with the title and contents specified in the request.
Create a txt file POST api/2.0/files/{folderId}/text Creates a text (.txt) file in the selected folder with the title and contents specified in the request.
Create an HTML file POST api/2.0/files/{folderId}/html Creates an HTML (.html) file in the selected folder with the title and contents specified in the request.
Create an HTML file in the "My documents" section POST api/2.0/files/@my/html Creates an HTML (.html) file in the "My documents" section with the title and contents specified in the request.
Create the editing session POST api/2.0/files/file/{fileId}/edit_session Creates a session to edit the existing file with multiple chunks (needed for WebDAV).
Create thumbnails POST api/2.0/files/thumbnails Creates thumbnails for the files with the IDs specified in the request.
Delete a file DELETE api/2.0/files/file/{fileId} Deletes a file with the ID specified in the request.
Delete template files DELETE api/2.0/files/templates Removes files with the IDs specified in the request from the template list.
Get changes URL GET api/2.0/files/file/{fileId}/edit/diff Returns a URL to the changes of a file version specified in the request.
Get file download link GET api/2.0/files/file/{fileId}/presigneduri Returns a link to download a file with the ID specified in the request.
Get file download link asynchronously GET api/2.0/files/file/{fileId}/presigned Returns a link to download a file with the ID specified in the request asynchronously.
Get file information GET api/2.0/files/file/{fileId} Returns the detailed information about a file with the ID specified in the request.
Get file properties GET api/2.0/files/{fileId}/properties Returns file properties of the specified file.
Get file versions GET api/2.0/files/file/{fileId}/history Returns the detailed information about all the available file versions with the ID specified in the request.
Get reference data POST api/2.0/files/file/referencedata Returns the reference data to uniquely identify a file in its system and check the availability of insering data into the destination spreadsheet by the external link.
Get third-party file information GET api/2.0/files/file/app-{fileId} Returns the detailed information about a third-party file with the ID specified in the request.
Get users with the access to the protected file GET api/2.0/files/file/{fileId}/protectusers Returns a list of users with their access rights to the protected file with the ID specified in the request.
Get version history GET api/2.0/files/file/{fileId}/edit/history Returns the version history of a file with the ID specified in the request.
Lock a file PUT api/2.0/files/file/{fileId}/lock Locks a file with the ID specified in the request.
Open a file GET api/2.0/files/file/{fileId}/openedit Returns the initialization configuration of a file to open it in the editor.
Restore a file version GET api/2.0/files/file/{fileId}/restoreversion Restores a file version specified in the request.
Returns primary external link GET api/2.0/files/file/{id}/link Returns the primary external link with the identifier specified in the request.
Save file edits PUT api/2.0/files/file/{fileId}/saveediting Saves edits to a file with the ID specified in the request.
Save file properties to a file PUT api/2.0/files/{fileId}/properties Saves file properties to the specified file.
Save file properties to files PUT api/2.0/files/batch/properties Saves file properties to the specified files.
Start file editing POST api/2.0/files/file/{fileId}/startedit Informs about opening a file with the ID specified in the request for editing, locking it from being deleted or moved (this method is called by the mobile editors).
Track file editing GET api/2.0/files/file/{fileId}/trackeditfile Tracks file changes when editing.
Update a file PUT api/2.0/files/file/{fileId} Updates the information of the selected file with the parameters specified in the request.