Creates a new event service from provided data
curl --request POST \
--url https://api.rootly.com/v1/events/{incident_event_id}/services \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_event_services",
"attributes": {
"incident_event_id": "<string>",
"service_id": "<string>",
"status": "operational"
}
}
}'
{
"data": {
"id": "6b78fd00-9608-4561-8543-a5763ff49716",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "5d3598e8-ca3f-440a-a2b4-a98011a9ca79",
"service_id": "e2e28e68-ff60-4915-8411-9d95e94aab46",
"status": "partial_outage"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_event_service created
The response is of type object
.
curl --request POST \
--url https://api.rootly.com/v1/events/{incident_event_id}/services \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_event_services",
"attributes": {
"incident_event_id": "<string>",
"service_id": "<string>",
"status": "operational"
}
}
}'
{
"data": {
"id": "6b78fd00-9608-4561-8543-a5763ff49716",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "5d3598e8-ca3f-440a-a2b4-a98011a9ca79",
"service_id": "e2e28e68-ff60-4915-8411-9d95e94aab46",
"status": "partial_outage"
}
}
}