API endpoint
https://bugnotify.com/api/v1/incidents
Request example
curl --location --request GET 'https://bugnotify.com/api/v1/incidents' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameters
search
search_by
monitor for Monitor, cause for Cause. Defaults to: url.
monitor_id
status
unresolved for Unresolved, acknowledged for Acknowledged, resolved for Resolved.
sort_by
started_at for Date started, ended_at for Date ended. Defaults to: ended_at.
sort
desc for Descending, asc for Descending. Defaults to: desc.
per_page
10, 25, 50, 100. Defaults to: 10.
API endpoint
https://bugnotify.com/api/v1/incidents/{id}
Request example
curl --location --request GET 'https://bugnotify.com/api/v1/incidents/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint
https://bugnotify.com/api/v1/incidents
Request example
curl --location --request POST 'https://bugnotify.com/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}'
Parameters
monitor_id
started_at
Y-m-dTH:i:s format.
acknowledged_at
Y-m-dTH:i:s format.
ended_at
Y-m-dTH:i:s format.
cause
public_message
internal_note
API endpoint
https://bugnotify.com/api/v1/incidents/{id}
Request example
curl --location --request PUT 'https://bugnotify.com/api/v1/incidents/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
Parameters
acknowledged_at
Y-m-dTH:i:s format.
ended_at
Y-m-dTH:i:s format.
cause
public_message
internal_note
API endpoint
https://bugnotify.com/api/v1/incidents/{id}
Request example
curl --location --request DELETE 'https://bugnotify.com/api/v1/incidents/{id}' \ --header 'Authorization: Bearer {api_key}'