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

Unable to reorder component group via API

I keep getting a 400 error with the message, `Component is Missing`

 

My payload and URL looks like this:

{
  description : 'this is the new description',
  component_group: {
    name : comp_group[0].name,
    components: [

      'comp_1',

      'comp_2', ...

    ]
  }
}

 

URL: https://api.statuspage.io/v1/pages/********/components/*********.json?api_key=************

 

1 answer

0 votes
Zach
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 15, 2020

Hey Mikea, 

What was it you were looking to do with your call? Here's an example of something I was able to submit whenever sending a patch to change a component group - 

 

{
"component_group": {
"components": [
"dnk673lyxzhw",
"7s1rmqsqzfr5",
"k43bv847x9mr"
],
"description": "something new",
"name": "new name"
}
}

Hopefully this helps!  

I was trying to set the order of the components inside of the component group. Maybe I was putting the component names rather than the ID's and that's causing the missing message. Let me look into that

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events