Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Updating status of a component

I would like to be able to update the status of a component using the API. I need to know the set of acceptable status values. In the component edit screen I can set the component status to "Operational", "Degraded Performance", ...

But when I use the API as in:

curl -X PATCH https://api.statuspage.io/v1/pages/{page_id}/components/{comp_id}?api_key={my_key} -H "Content-Type: application/json" --data '{"component":{"status": "operational"}}'

it fails if I try to set status to anything other than "operational".

 

What is the list of acceptable status values?

1 answer

1 accepted

0 votes
Answer accepted
Dave Parrish Atlassian Team Nov 04, 2020

Hi @George Howitt , the acceptable values for component status are shown here (expand the "request body schema"):

https://developer.statuspage.io/#operation/patchPagesPageIdComponentsComponentId

Here's the full list:

  • "operational"
  • "under_maintenance"
  • "degraded_performance"
  • "partial_outage"
  • "major_outage"

Okay, they are documented under "request body schema", thanks alot.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Statuspage

New feature: Slack notifications for Statuspage

We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...

901 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you