新增/修改业务线
设计中
POST
https://api.flashcat.cloud/api/v1/northstar/business/upsert
最后修改时间:2024-03-15 07:42:25
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/api/v1/northstar/business/upsert' \
--header 'FC-WORKSPACE-ID: FC-WORKSPACE-ID' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 27,
"name": "智能报警测试-勿删",
"owners": [
"flashcat"
],
"slo": 99.0,
"error_budget_minutes": 1000,
"error_budget_used_minutes": 0,
"description": "xxxx",
"order": 5
}'
响应示例响应示例
{
"data": {
"id": 0
}
}
请求参数
Header 参数
Content-Type
string
可选
示例值:
application/json
FC-WORKSPACE-ID
string
必需
示例值:
FC-WORKSPACE-ID
Body 参数application/json