Tất cả tài liệu

Incident Management

    A. Incoming webhook
    A. Incoming webhook
    Updated on 13 Aug 2024

    Sau khi cài đặt thành công Incoming webhook, xem chi tiết thông tin incoming webhook, click Show details

    • Token: chuỗi ký tự dùng để xác thực

    • URL: incoming webhook url, dùng để POST incident

    Ví dụ sau minh họa cách đẩy 1 incident bằng incoming webhook:

    $ curl "api-incident-stg.fci.fmon.fptcloud.com/api/v1/create_incident?title=json(report.title)" --request POST --header 'Authorization: a9210eeee765e209c6a81a13e957574e' --header 'Content-Type: application/json' --data '{"report":{"title":"cool that this title comes from the json"}}'