Flashcat API (English)
API referenceDocs中文
API referenceDocs中文
  1. Event API
  • Open API
    • Quick Start
    • About Pagination
    • Member Management
      • Invite members
      • Delete member
      • Reset information
      • Member list
    • Team Management
      • Team list
      • Basic information
      • Delete team
      • Team upsert
    • Schedule Management
      • Preview schedule
      • Update schedule
      • Enable schedule
      • Disable schedule
      • Create schedule
      • Delete schedule
      • View schedule details
      • Get schedule information by ID list
      • View schedule list
      • Personal schedule calendar
      • Role information
    • Information Retrieval
      • Channel
      • Member
      • Team
    • Preference Settings
      • View preference settings
      • Modify preference settings
    • Channel
      • Escalation Rules
        • Enable rule
        • Disable rule
        • Delete rule
        • Rule list
        • Rule details
        • Create rule
        • Update rule
      • Subscription Rules
        • Enable rule
        • Disable rule
        • Delete rule
        • Rule list
        • Create rule
        • Update rule
      • Drop Rules
        • Enable rule
        • Disable rule
        • Delete rule
        • Rule list
        • Create rule
        • Update rule
      • Silence Rules
        • Enable rule
        • Disable rule
        • Delete rule
        • Rule list
        • Rule details
        • Inner conditions
      • Inhibit Rules
        • Disable rule
        • Delete rule
        • Rule list
        • See creation interface for filters explanation
        • Channel ID
        • Rule name
      • Match conditions
      • Delete rule
      • See creation interface for filters explanation
      • Enable rule
      • Update rule
      • Rule ID
      • Rule name
      • Sort
      • Delete rule
      • See creation interface for filters explanation
      • Name by integration
      • Robot list
    • Template Management
      • Name
      • Enable rule
      • Delete rule
      • See creation interface for filters explanation
      • Channel ID
      • Rule name
      • Required when updating
      • Update rule
    • Incident Management
      • Group View
        • Channel
        • Rule name
        • Inner conditions
        • Channel
      • Match conditions
      • Enable rule
      • Disable rule
      • Delete rule
      • Rule list
      • See creation interface for filters explanation
      • Create rule
      • Rule description
      • Update rule
      • Channel
      • Match conditions
      • Match conditions
      • Update rule
      • Channel
      • Rule ID
      • Inner conditions
      • Enable rule
      • Rule list
      • Rule details
      • Rule name
      • Rule description
      • Match conditions
      • Rule description
      • See creation interface for filters explanation
      • Disable rule
      • Rule description
    • Alert Management
      • Group View
        • Required when updating
        • Rule name
        • Inner conditions
        • Disable rule
      • Alert Info
      • Close Alert
      • Alert List By Card
      • Alert List
      • Alert List By ID
      • Event List
      • Feed
      • Merge Incident
    • Change Management
      • Inner conditions
    • Insights (old)
      • Channel
      • Match conditions
      • Rule ID
      • Enable rule
      • Name
      • Disable rule
      • Rule name
      • Name
      • See creation interface for filters explanation
    • Custom Fields
      • Enable rule
      • Disable rule
      • See creation interface for filters explanation
      • Channel ID
      • Channel
    • Service Calendar
      • Match conditions
      • Delete rule
      • Update rule
      • Required when updating
      • Rule details
      • Required when updating
      • Inner conditions
      • Channel
    • Label Enhancement
      • Mapping
        • Rule name
        • Rule list
        • Rule description
        • Match conditions
        • Rule ID
        • Rule description
        • Inner conditions
        • Enable rule
        • Disable rule
        • Rule description
      • Enable rule
      • Delete rule
    • Alert Processing
      • Create rule
      • Rule name
    • Integration Routing
      • Required when updating
      • Rule description
      • Match conditions
    • License Management
      • Create rule
    • Insights
      • Team Metrics
      • Responder Metrics Export
      • Incident List
      • Responder Metrics
      • Account Metrics
      • Channel Metrics Export
      • Team Metrics Export
      • Incident Export
      • Alert Top
      • Cahnnel Metrics
  • Event API
    • Quick Start
    • Alert Event
    • Change Event
  • Webhook
    • Quick Start
    • Custom Actions
    • Alert Webhook
    • Incident Webhook
  1. Event API

Change Event

Push change events from your own system to Flashcat Cloud through standard API. Most incidents are caused by changes, and the interaction between changes and alert events helps quickly locate incident causes.

Request Description#

Request Method#

POST, Content-Type:"application/json"

Request Parameters:#

QueryString must include integration_key parameter for access control.
JsonBody parameters are as follows:
FieldRequiredTypeDescription
change_statusYesstringChange event status, enumeration values: Planned: ticket submitted, Ready: about to (or planned to) start, Processing: in progress, Canceled: canceled (or rolled back), Done: completed. Not all statuses need to be reported, selective reporting is allowed
change_keyYesstringUnique change key, usually the change ticket number. Used to merge different change events into one change
titleYesstringChange title
event_timeNoint64Change event occurrence timestamp in "seconds", if change_status is Ready, future time can be reported; if not provided, current time will be used
descriptionNostringChange description, no more than 2048 characters
linkNostringChange ticket URL, used to jump to change details
labelsNomapChange label collection, key is label name, value is label value. Labels are event descriptions, very important for future correlation. 1. Both label key and value are string type, case-sensitive. 2. Label key should not exceed 128 characters. 3. Maximum 50 labels. See Label Content Reference in Best Practices

Response#

Body:
Field NameRequiredTypeDescription
request_idYesstringRequest trace id for issue tracking
errorNoErrorError description, returned only when an error occurs
Error:
Field NameOptionalTypeDescription
codeYesstringError code
messageYesstringError description
Code:
Error CodeHTTP StatusDescription
InvalidParameter400Parameter error
InvalidContentType400Content-Type not supported
MethodNotAllowed400HTTP method not supported
Unauthorized401Authentication failed
AccessDenied403Authorization failed
RequestTooFrequently429Request too frequent
RouteNotFound404Request Method+Path not matched
ResourceNotFound400Account hasn't purchased resource, please proceed to billing center
InternalError500Internal or unknown error

Request Example#

Request:
Successful response:
{
    "request_id": "0ace00116215ab4ca0ec5244b8fc54b0"
}
Failed response:
{
    "request_id": "0ace00116215abc0ba4e52449bd305b0",
    "error": {
        "code": "InvalidParameter",
        "message": "integration_key $key is not a valid one"
    }
}

Best Practices#

Labels are event descriptions, you should enrich label content as much as possible, such as:
1.
Change scope, like host, cluster
2.
Change ownership information, like team, owner
Previous
Alert Event
Next
Quick Start
Built with