1 Star 0 Fork 66

林中静月下仙 / bk-sops

forked from 腾讯蓝鲸智云 / bk-sops 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
start_task.md 1.55 KB
Copy Edit Raw Blame History
pagezhou authored 2019-06-21 20:31 . minor: 优化本地文档格式 #391

Functional description

Start a task

Request Parameters

General Parameters

Field Type Required Description
bk_app_code string YES APP ID
bk_app_secret string YES APP Secret(APP TOKEN), which can be got via BlueKing Developer Center -> Click APP ID -> Basic Info
bk_token string NO Current user login token, bk_token or bk_username must be valid, bk_token can be got by Cookie
bk_username string NO Current user username, APP in the white list, can use this field to specify the current user

Interface Parameters

Field Type Required Description
bk_biz_id string YES the business ID
task_id string YES the task ID

Request Parameters Example

{
    "bk_app_code": "esb_test",
    "bk_app_secret": "xxx",
    "bk_token": "xxx",
    "bk_biz_id": "2",
    "task_id": "10"
}

Return Result Example

{
    "result": true,
    "data": {}
}

Return Result Description

Field Type Description
result bool true or false, indicate success or failure
data dict data returned when result is true
message string error message returned when result is false
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/myicul/bk-sops.git
git@gitee.com:myicul/bk-sops.git
myicul
bk-sops
bk-sops
master

Search

344bd9b3 5694891 D2dac590 5694891