API endpoint:
https://admi.me/api/v1/incidents
Request example:
curl --location --request GET 'https://admi.me/api/v1/incidents' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_bymonitor for Monitor, cause for Cause. Defaults to: url.monitor_idstatusunresolved for Unresolved, acknowledged for Acknowledged, resolved for Resolved.sort_bystarted_at for Date started, ended_at for Date ended. Defaults to: ended_at.sortdesc for Descending, asc for Ascending. Defaults to: desc.per_page10, 25, 50, 100. Defaults to: 10.API endpoint:
https://admi.me/api/v1/incidents/{id}
Request example:
curl --location --request GET 'https://admi.me/api/v1/incidents/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://admi.me/api/v1/incidents
Request example:
curl --location --request POST 'https://admi.me/api/v1/incidents' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'monitor_id={monitor_id}' \ --data-urlencode 'started_at={started_at}'
monitor_idstarted_atY-m-dTH:i:s format.acknowledged_atY-m-dTH:i:s format.ended_atY-m-dTH:i:s format.causecommentAPI endpoint:
https://admi.me/api/v1/incidents/{id}
Request example:
curl --location --request PUT 'https://admi.me/api/v1/incidents/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
acknowledged_atY-m-dTH:i:s format.ended_atY-m-dTH:i:s format.causecommentAPI endpoint:
https://admi.me/api/v1/incidents/{id}
Request example:
curl --location --request DELETE 'https://admi.me/api/v1/incidents/{id}' \ --header 'Authorization: Bearer {api_key}'