Skip to content
中文

List saved versions

GET /cut/v1/projects/{project_id}/versions

Find saved timeline snapshots for this project and obtain version_id values for restore. A saved version records its original revision; restoring it creates a new current revision rather than rewinding the revision counter. Continue with next_page_token as page_token until absent.

Support: supported

Parameters

NameLocationTypeRequiredDescription
project_idpathstringtrueProject identifier returned by its create or list operation; use the id, not a display name.
page_sizequeryintegerfalseMaximum resources in one page, from 1 to 100; defaults to 50.
page_tokenquerystringfalseOpaque next_page_token from the preceding page; omit on the first request.
filterquerystringfalseOptional resource filter; projects supports state = “active” or state = “deleted”.
order_byquerystringfalseOptional ordering expression; projects supports updateTime desc.

Response

HTTP 200

Requested resource or operation result; use its revision when preparing a guarded edit.

application/json

Name Type Description
versions array<object> Resources in this page; continue with next_page_token when present.
versions[].id string Version id returned by versions.create or list; pass as version_id to restore.
versions[].project_id string Identifier of the project this version belongs to.
versions[].revision integer Committed project revision from retrieve, state, timeline or execute; increases after each successful write.
versions[].label string Optional human-readable label supplied when saving this version.
versions[].create_time string ISO 8601 timestamp when this version was saved.
versions[].actor string Creator identity recorded as human:<user-id> or agent:<user-id>.
next_page_token string Opaque continuation token for page_token on the next request; absent when no more results remain.