Environments

Resolve Environment Revision Endpoint

Resolve embedded references in an environment revision configuration.

This endpoint:

  1. Fetches the environment revision
  2. Resolves all @ag.references tokens in the configuration
  3. Returns the revision with resolved configuration + metadata
post/preview/environments/revisions/resolve

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/preview/environments/revisions/resolve
  • Auth
    API key in header Authorization

Request body

max_depthinteger nullable
max_embedsinteger nullable
error_policy'exception' | 'placeholder' | 'keep'

Response

Successful Response

countinteger

Changes