curl --request POST \
--url 'https://api.flashcat.cloud/incident/create?app_key=' \
--header 'Content-Type: <content-type>' \
--data '
{
"title": "<string>",
"incident_severity": "Critical",
"description": "<string>",
"channel_id": 123,
"assigned_to": {
"type": "assign",
"person_ids": [
123
],
"escalate_rule_id": "<string>",
"escalate_rule_name": "<string>",
"layer_idx": 123,
"notify": {
"follow_preference": true,
"personal_channels": [
"<string>"
],
"template_id": "<string>"
},
"layer_person_reset": {
"0": {
"emails": [
"<string>"
],
"team_ids": [
123
],
"person_ids": [
123
],
"schedule_to_role_ids": {
"{schedule_id}": [
123
]
}
}
},
"layer_webhook_reset": {
"0": {
"type": "feishu_app",
"settings": {
"data_source_id": 123,
"chat_ids": "<string>",
"reply_mode": "threads",
"reply_event_types": [
"<string>"
],
"disable_at": true,
"put_top_notice": true,
"severities": [
"Info"
]
}
}
},
"emails": [
"<string>"
]
}
}
'{
"error": {
"code": "<string>",
"message": "<string>"
},
"data": {
"incident_id": "<string>",
"title": "<string>"
}
}curl --request POST \
--url 'https://api.flashcat.cloud/incident/create?app_key=' \
--header 'Content-Type: <content-type>' \
--data '
{
"title": "<string>",
"incident_severity": "Critical",
"description": "<string>",
"channel_id": 123,
"assigned_to": {
"type": "assign",
"person_ids": [
123
],
"escalate_rule_id": "<string>",
"escalate_rule_name": "<string>",
"layer_idx": 123,
"notify": {
"follow_preference": true,
"personal_channels": [
"<string>"
],
"template_id": "<string>"
},
"layer_person_reset": {
"0": {
"emails": [
"<string>"
],
"team_ids": [
123
],
"person_ids": [
123
],
"schedule_to_role_ids": {
"{schedule_id}": [
123
]
}
}
},
"layer_webhook_reset": {
"0": {
"type": "feishu_app",
"settings": {
"data_source_id": 123,
"chat_ids": "<string>",
"reply_mode": "threads",
"reply_event_types": [
"<string>"
],
"disable_at": true,
"put_top_notice": true,
"severities": [
"Info"
]
}
}
},
"emails": [
"<string>"
]
}
}
'{
"error": {
"code": "<string>",
"message": "<string>"
},
"data": {
"incident_id": "<string>",
"title": "<string>"
}
}此页面对您有帮助吗?