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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,573
Community Members
 
Community Events
184
Community Groups

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

1 vote
Answer accepted
Dave Parrish _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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
AUG Leaders

Atlassian Community Events