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

Change the display date of an incident I created

Hello,

 

I'm trying to modify the "display at" date of an incident I created, I know it's possible to to it from the web page with:

Screenshot from 2018-12-06 10-07-40.png

 

But I'm using the API to change it.

I work in python and I have a request like:

 

requests.patch("https://api.statuspage.io/v1/pages/" + page_id +"/incidents/" + incident_id + ".json?api_key=" + api_key + " &incident[display_at]=2016-12-06T08:48:40.375Z")

 

 The incident_id variable is an id of an update, in: incident["incident_updates"][ ]

I got response 200 , but I can't update the display date , also, the incident isn't resolved yet, so I should be able to update it.

Can someone help me ? Tell me where or why I'm wrong ?

 

Tanks

Alexandre

1 answer

0 votes
henry
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 07, 2018

You have it close to correct, just the wrong parameter.  display_at isn't a valid parameter so it's simply ignored by the API.

The parameter you want is backfill_date since you're backfilling the date of the incident.

You can find more details on the incident update api page: https://developer.statuspage.io/#operation/patchPagesPageIdIncidentsIncidentId

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events