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": "97e88288-89d5-48c3-8fad-b26671fa8619",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "63c87f23-24dc-4730-a603-d5bf04a8d90d",
"service_id": "7eb8281e-586c-4416-a5e2-4fbe3cbb825f",
"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": "97e88288-89d5-48c3-8fad-b26671fa8619",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "63c87f23-24dc-4730-a603-d5bf04a8d90d",
"service_id": "7eb8281e-586c-4416-a5e2-4fbe3cbb825f",
"status": "partial_outage"
}
}
}