安装我们的应用程序 🪄 点击地址栏右上角的 图标。

事件

GET https://calisiyormu.com/api/incidents/
curl --request GET \
--url 'https://calisiyormu.com/api/incidents/' \
--header 'Authorization: Bearer {api_key}' \
参数 详细信息 描述
page 可选 整数 您想要结果的页码。默认为 1
results_per_page 可选 整数 每页您想要多少个结果。允许的值为:10 , 25 , 50 , 100 , 250 , 500 , 1000。默认为25
{
    "data": [
        {
            "id": 1,
            "user_id": 1,
            "monitor_id": 0,
            "start_monitor_log_id": 0,
            "end_monitor_log_id": 0,
            "heartbeat_id": 13,
            "start_heartbeat_log_id": 264,
            "end_heartbeat_log_id": 0,
            "start_datetime": "2025-10-19 08:12:14",
            "end_datetime": null,
            "last_failed_check_datetime": null,
            "failed_checks": 5,
            "notification_handlers_ids": [1,2,3],
            "comment": null
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://calisiyormu.com/api/incidents?page=1",
        "last": "https://calisiyormu.com/api/incidents?page=1",
        "next": null,
        "prev": null,
        "self": "https://calisiyormu.com/api/incidents?page=1"
    }
}
GET https://calisiyormu.com/api/incidents/{incident_id}
curl --request GET \
--url 'https://calisiyormu.com/api/incidents/{incident_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "user_id": 1,
        "monitor_id": 0,
        "start_monitor_log_id": 0,
        "end_monitor_log_id": 0,
        "heartbeat_id": 13,
        "start_heartbeat_log_id": 264,
        "end_heartbeat_log_id": 0,
        "start_datetime": "2025-10-19 08:12:14",
        "end_datetime": null,
        "last_failed_check_datetime": null,
        "failed_checks": 5,
        "notification_handlers_ids": [1,2,3],
        "comment": null
    }
}
POST https://calisiyormu.com/api/incidents/{incident_id}
参数 详细信息 描述
comment 可选 字符串 -
curl --request POST \
--url 'https://calisiyormu.com/api/incidents/{incident_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'comment=Example' \
{
    "data": {
        "id": 1
    }
}
DELETE https://calisiyormu.com/api/incidents/{incident_id}
curl --request DELETE \
--url 'https://calisiyormu.com/api/incidents/{incident_id}' \
--header 'Authorization: Bearer {api_key}' \