Skip to main content
GET
List a site's versions

Authorizations

Authorization
string
header
required

A company admin credential for your company, or a droplet installation token with the website scope for reads, except on the share routes, which refuse a droplet token.

Path Parameters

id
string<uuid>
required

The site's id.

Query Parameters

limit
integer

How many versions to list, newest first. 25 when omitted, at most 100.

Required range: 1 <= x <= 100

Response

The site's versions.

A site's versions, newest first, and the state of its history.

versions
object[]
required

The site's versions, newest first.

current_sha
string | null
required

The sha the site's history was last synced to, or null before its first push.

syncing
boolean
required

Whether a change to the site is being saved to its history now.

sync_failing
boolean
required

Whether the last attempt to save a change to the site's history failed. The listing still answers.

status
integer
required

The HTTP status.

meta
object
required

Response metadata included on every response body.