API endpoint:
https://printsypro.com/api/v1/incidents
Request example:
curl --location --request GET 'https://printsypro.com/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://printsypro.com/api/v1/incidents/{id}
Request example:
curl --location --request GET 'https://printsypro.com/api/v1/incidents/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://printsypro.com/api/v1/incidents/{id}
Request example:
curl --location --request PUT 'https://printsypro.com/api/v1/incidents/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}'
commentacknowledged_atended_atAPI endpoint:
https://printsypro.com/api/v1/incidents/{id}
Request example:
curl --location --request DELETE 'https://printsypro.com/api/v1/incidents/{id}' \ --header 'Authorization: Bearer {api_key}'