Drive > Files > File/Directory > Version

List

Get list of file versions

get/2/drive/{drive_id}/files/{file_id}/versions

Path parameters

drive_idinteger required

Drive identifier

file_idinteger required

File identifier

Query parameters

string
OR
string[]

Optional parameter that define the field used for sorting<br /> Part of the sort capacity

order'asc' | 'desc'

Optional parameter that define the default sort order<br /> Part of the sort capacity

order_forobject

Optional parameter that define the sorting order for a field<br /> By default order is used<br /> Part of the sort capacity

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success",
  "data": [
    {
      "converted_type": "archive"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.