Applications

Retrieve Application Revision

Changed on

Retrieve one application revision by reference.

Accepts application / variant / revision references for direct lookup, or an environment reference (with optional key) to resolve the currently-deployed revision in that environment. Returns the revision including its data payload (URL, parameters, schemas), which clients use to invoke the application. Set resolve: true to inline embedded references inside data.

post/applications/revisions/retrieve

Request

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

Request body

keystring nullable

Deployment key inside the environment revision. When omitted and application_ref is supplied, the server derives it as {application_slug}.revision.

resolveboolean nullable

When true, resolve embedded references in the returned revision's data (for example, snippet references).

include_archivedboolean nullable

When false, an archived application, variant, or revision resolves to nothing.

Response

Successful Response

countinteger

1 when a revision was found, 0 otherwise.

Changes

    • info

      added the new optional request property

    • info

      added to the response property anyOf list for the response status

    • info

      removed from the response property anyOf list for the response status