Status page components

Update a component

Changes only the fields you send. Its status can't be set: post an incident or schedule maintenance instead. monitor_id: null unlinks the monitor. If you change group without a position, the component goes last in its new section, as when you add a component.

patch/status-pages/{statusPage}/components/{component}

Request

  • Base URL
    https://api.spectate.net/v1
  • Auth
    HTTP bearer

Path parameters

statusPagestring uuid required

Status page ID.

componentstring uuid required

Component ID.

Request body

namestring

Name shown on the page

descriptionstring nullable

Text shown with the name; null for none

groupstring nullable

Group to show the component in; null for no group

positioninteger

Order on the whole page, lowest first, from 0 to 32767. New components go last in their section when left out

monitor_idstring uuid nullable

A monitor of the team whose uptime history and response times the component shows, and whose downtime opens an incident when monitor automation is on; null for none

show_latency_chartboolean

Show the monitor's response time chart under the component

Example request

{
  "name": "API",
  "description": "Our public REST API.",
  "group": "Backend"
}

Response

The updated component.

idstring uuid required

Component ID

namestring required

Name shown on the page

descriptionstring nullable required

Text shown with the name; null for none

groupstring nullable required

Group the component is shown in; null for no group

positioninteger required

Order on the whole page, lowest first. A named group shows once, where its first component falls

status'operational' | 'degraded_performance' | 'partial_outage' | 'major_outage' | 'under_maintenance' required

A status page component's status, derived from incidents and maintenance.

operational <br/> Working normally.
degraded_performance <br/> Slower or less reliable than usual.
partial_outage <br/> Down for some visitors or some functions.
major_outage <br/> Down.
under_maintenance <br/> In planned maintenance.
show_latency_chartboolean required

Whether the page shows the monitor's response time chart under the component

created_atstring date-time required

When the component was created

Example response

{
  "name": "API",
  "description": "Our public REST API.",
  "group": "Backend",
  "monitor": {
    "label": "Website"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.