Skip to main content
POST
Save an application's Overview layout

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

application_id
string
required

Body

application/json

A version to save and put on the Overview.

content
string
required

The layout: a canvas spec of schema_version 2 as JSON text, at most 65536 bytes and 64 cards. A summary card is an ApplicationCard element with props.card one of health, environments, services, cost, safety, releases, runs, backups. A chart binds a dataset that takes an application parameter, with params.application set to this application's id, on a component that can draw it.

base_revision_id
string<uuid> | null
required

The id of the version the caller's page showed, or null when it showed Ankra's layout. A change on any other base is refused with 409.

Response

The version is saved and on the page

What an application's Overview shows: Ankra's layout, which the page draws and Ankra does not store, or a version the team saved.

on_page
enum<string>
required

ankra: Ankra's layout, drawn by the page. team: the team's version in revision.

Available options:
ankra,
team
revision
object | null
required

The team's version on the page, with its content. Null on Ankra's layout.

versions
integer
required

How many versions the team has saved, on the page or not. Every version is kept, and the count includes versions saved before the Overview went back to Ankra's layout.

Required range: x >= 0