Skip to main content
GET
List a trust policy's revisions
The reference panel describes the current v3 operation. The notes below describe its v2 compatibility API. Follow the v3 request schema for current calls: v3 can move identifiers from the body or query into the URL. Keep the v2 method, path, and payload together when using the compatibility API.

v2 compatibility notes

Returns the revision chain of one trust policy, oldest first, from the id of any revision in it. Each row has the shape described in List trust policies, and current marks the newest revision. Editing a policy in the Console saves a new revision and disables the previous one, so older revisions usually show enabled: false.

Who can read it

The same rule as List trust policies: the three permissions at the platform scope or the deployment root. The author of a revision is never returned.

Parameters

A bounded read

A chain is one bounded read, paged with limit and cursor. meta.partial is false when the whole chain was returned. It is true when the chain holds more than 200 revisions: then the first revision and the newest 199 are returned.

Example

Over MCP, forge_call_operation with operationId listTrustPolicyRevisions returns the same data and meta as its body.

Authorizations

Authorization
string
header
required

An External App: the JWT it obtains from POST /oauth/token with OAuth2 client_credentials. Pass as Authorization: Bearer <jwt>. An app's static companion key also authenticates as the app, but is deprecated and is not protected by Idempotency-Key.

Path Parameters

trustPolicyId
string
required

Any revision's id.

Minimum string length: 1

Query Parameters

limit
integer
default:200

Items per page, 1 to 200 (default 200); a larger value is a 400 too_big. A page may hold fewer items than limit while meta.hasMore is true; continue with meta.nextCursor.

Required range: 1 <= x <= 200
cursor
string

The previous page's meta.nextCursor; any other value is 400.

Minimum string length: 1

Response

The revision chain, oldest first

data
object[]
required
meta
object
required

A list page's continuation. While hasMore is true, nextCursor is a string: pass it as cursor for the next page. hasMore: false ends the list; with truncated: true, more exist past what this list reads, and no cursor reaches them.