File Version: Overview of Methods

A file version is a saved snapshot of a file at a specific point in time. When a file is modified, the system creates a new version. This allows tracking the history of changes and restoring files to the desired state.

Quick navigation: all methods

User documentation: File version storage

Working with File Versions

The method disk.version.get returns information about a file version, including its size, creation time, the user ID of the person who created this version, and a temporary link for downloading the version.

To retrieve version data:

  1. Request a list of file versions using the method disk.file.getVersions. In the response, you will receive an array with the ID of all available versions.

  2. Use the required ID as a parameter in the method disk.version.get.

Overview of Methods

Scope: disk

Who can execute the method: a user with "Read" access permission for the required file

Method

Description

disk.version.get

Returns the file version