List file versions

http
GET /projects/{project_reference}/files/{file_path}/versions

List file versions. Requires project.read.

Parameters

NameInRequiredDescription
project_referencepathYes
file_pathpathYes
refquery
branchquery
branch_idquery
exact_pathqueryTreat the identifier as an exact path, including UUID-shaped filenames. Defaults to false.
cursorqueryForward-only continuation through committed versions, newest first. Main history uses selection time; branch history uses commit sequence. Other sorting is unsupported; page_info.prev is always null.
limitqueryMaximum number of entries to return. Defaults to 20 and is capped at 100.

Responses

StatusDescription
200Paginated list of file versions.
400Missing file path, or an invalid, conflicting or snapshot content selector
401Unauthorized
403Forbidden - insufficient permissions
404File not found
500Server error