I thought I was following the API documentation correctly but I am unable to create a component via the statuspage.io API.
Here is the payload I am sending via POST https://api.statuspage.io/v1/pages/<mypageID>/components
{'component': {'name': 'placeholder', 'showcase': False, 'only_show_if_degraded': False, 'description': 'placeholder', 'status': 'operational'}}
I get back:
{'error': 'component is missing'}
What am I doing wrong here?