Skip to main content

siteAssetRevisions

Returns asset revisions newest first, with an exclusive beforeRevision boundary and a bounded limit. Use siteAsset for only the current revision. Returns an error when site assets are not enabled for the account. Requires a logged-in session and site access.

siteAssetRevisions(
siteId: Int!
type: SiteAssetType!
beforeRevision: Int
limit: Int
): [SiteAsset!]

Arguments​

siteAssetRevisions.siteId ● Int! non-null scalar​

Site ID from sites.

siteAssetRevisions.type ● SiteAssetType! non-null enum​

Asset type whose revision history to read.

siteAssetRevisions.beforeRevision ● Int scalar​

Return revisions strictly below this positive revision from siteAssetRevisions; omit for the newest revisions.

siteAssetRevisions.limit ● Int scalar​

Maximum revisions, default 20; values are clamped to 1-100.

Type​

SiteAsset object​

An append-only site asset revision returned by siteAsset, siteAssets, and siteAssetRevisions.