Flashcat API (English)
API referenceDocs中文
API referenceDocs中文
  1. Incident Management
  • 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
        POST
      • Enable rule
        POST
      • Disable rule
        POST
      • Delete rule
        POST
      • Rule list
        POST
      • See creation interface for filters explanation
        POST
      • Create rule
        POST
      • Rule description
        POST
      • Update rule
        POST
      • Channel
        POST
      • Match conditions
        POST
      • Match conditions
        POST
      • Update rule
        POST
      • Channel
        POST
      • Rule ID
        POST
      • Inner conditions
        POST
      • Enable rule
        POST
      • Rule list
        POST
      • Rule details
        POST
      • Rule name
        POST
      • Rule description
        POST
      • Match conditions
        POST
      • Rule description
        POST
      • See creation interface for filters explanation
        POST
      • Disable rule
        POST
      • Rule description
        POST
    • 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. Incident Management

Match conditions

POST
/incident/list-by-card

Request

Body Params application/json
view_id
string 
Name
required
asc
boolean 
Enable rule
optional
progress
string 
Disable rule
optional
Delete rule
title
string 
Rule list
optional
channel_ids
array[integer]
See creation interface for filters explanation
optional
Rule details
responder_ids
array[integer]
Channel ID
optional
Rule ID
acker_ids
array[integer]
Create rule
optional
creator_ids
array[integer]
Channel
optional
Rule name
incident_ids
array[string]
Rule description
optional
start_time
integer 
Inner conditions
required
Match conditions
end_time
integer 
Name
required
Update rule
range_by
string 
Channel
optional
Rule ID
incident_severity
enum<string> 
Required when updating
optional
Rule name
Allowed values:
CriticalWarningInfo
is_related
boolean 
Rule description
optional
Inner conditions
is_snoozed
boolean 
Match conditions
optional
Name
is_my_team
boolean 
Enable rule
optional
Disable rule
labels
object 
See creation interface for filters explanation
optional
Rule list
$key
array[string]
Delete rule
required
Example
{
    "view_id": "string",
    "asc": true,
    "progress": "string",
    "title": "string",
    "channel_ids": [
        0
    ],
    "responder_ids": [
        0
    ],
    "acker_ids": [
        0
    ],
    "creator_ids": [
        0
    ],
    "incident_ids": [
        "string"
    ],
    "start_time": 0,
    "end_time": 0,
    "range_by": "string",
    "incident_severity": "Critical",
    "is_related": true,
    "is_snoozed": true,
    "is_my_team": true,
    "labels": {
        "$key": [
            "string"
        ]
    }
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://prod-cn.your-api-server.com/incident/list-by-card' \
--header 'Content-Type: application/json' \
--data-raw '{
    "view_id": "string",
    "asc": true,
    "progress": "string",
    "title": "string",
    "channel_ids": [
        0
    ],
    "responder_ids": [
        0
    ],
    "acker_ids": [
        0
    ],
    "creator_ids": [
        0
    ],
    "incident_ids": [
        "string"
    ],
    "start_time": 0,
    "end_time": 0,
    "range_by": "string",
    "incident_severity": "Critical",
    "is_related": true,
    "is_snoozed": true,
    "is_my_team": true,
    "labels": {
        "$key": [
            "string"
        ]
    }
}'

Responses

🟢200成功
application/json
Body
error
object (DutyError) 
optional
code
enum<string> 
Rule description
required
Allowed values:
InvalidParameterInvalidContentTypeUnauthorizedAccessDeniedMethodNotAllowedRequestTooFrequentlyRequestVerifyRequiredDangerousOperationRequestLockedRouteNotFoundBalanceNotEnoughUndonedOrderExistResourceNotFoundInternalErrorReferenceExist
message
string 
Inner conditions
required
data
object 
optional
items
array [object {4}] 
required
Inner conditions
Example
{
    "error": {
        "code": "InvalidParameter",
        "message": "string"
    },
    "data": {
        "items": [
            {
                "title": "string",
                "total": 0,
                "incident_severity": "string",
                "incident_ids": [
                    "string"
                ]
            }
        ]
    }
}
Previous
Channel
Next
Match conditions
Built with