You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am sending component_ids as a list during incident creation, but do not see the association on the statuspage. How do i confirm the association of a component with the incident ?
curl https://api.statuspage.io/v1/pages/xxx/incidents -H "Authorization: OAuth xxx" -X POST -d "incident[name]=yyy" -d "incident[status]=identified" -d "incident[body]=testing component association" -d "incident[component_ids]=["zzz"]
Hi there,
Would you mind testing the request as follows and let us know if you still experiencing any issues?
curl https://api.statuspage.io/v1/pages/Your_page_ID/incidents \
-H "Authorization: OAuth API_Key" \
-X POST \
-d "incident[name]=Incident name" \
-d "incident[status]=investigating" \
-d "incident[body]=Incident Body" \
-d "incident[component_ids]=comp_id2,comp_id2"
hi Rahul, I still see the incident under 'Past Incidents' section of the statuspage. I am trying to find the association of this incident with the component_id used during the incident creation. Here is the response on the curl command.
curl https://api.statuspage.io/v1/pages/xxx/incidents -H "Authorization: OAuth yyyy" -X POST -d "incident[name]=PE outage" -d "incident[status]=investigating" -d "incident[body]=testing components" -d "incident[component_ids]=["xxx"]
"components":[],"created_at":"2021-07-19T17:42:26Z","impact":"none","impact_override":null,"incident_updates":[{"id":"xxx","incident_id":"yyy","affected_components":null,"body":"testing components","created_at":"2021-07-19T17:42:26.077Z","custom_tweet":null,"deliver_notifications":true,"display_at":"2021-07-19T17:42:26.077Z","status":"investigating","tweet_id":null,"twitter_updated_at":null,"updated_at":"2021-07-19T17:42:26.077Z","wants_twitter_update":false}]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Syntax of -d "incident[component_ids]=["xxx"]" is incorrect. When i used -d "incident[component_ids]=xxx" it worked. This ticket can be closed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.