OpenAPI Specification
openapi: 3.0.3
info:
title: APISec Management account installer/taskstep API
version: '26.05'
description: Generated from APISec skyview APIView classes.
tags:
- name: installer/taskstep
description: 终端安装包/任务步骤
paths:
/installer/taskstep/:
post:
summary: 插入发布任务阶段
deprecated: false
description: ''
tags:
- installer/taskstep
parameters:
- name: X-CS-Header-App
in: header
description: 应用id
required: true
example: '{{app}}'
schema:
type: string
- name: X-CS-Header-Company
in: header
description: 公司id
required: true
example: '{{company_id}}'
schema:
type: string
- name: X-CS-Header-Crypt
in: header
description: 加密算法,请参考:https://servaltech.feishu.cn/docs/doccnQCZ2cw32uazgNSO0DFwceb
required: true
example: ''
schema:
type: string
- name: If-None-Match
in: header
description: 对于支持「ETAG」的接口,将上一次请求的响应header的Etag,填入到下一次请求。若匹配,则返回304(无变更),否则会返回新版本的数据 + 新Etag
required: true
example: string
schema:
type: string
- name: X-CS-Header-Debug
in: header
description: ''
required: true
example: '{{debug}}'
schema:
type: string
- name: Accept-Language
in: header
description: ''
required: true
example: zh
schema:
type: string
- name: X-Cs-Header-Timezone
in: header
description: ''
required: true
example: Asia/Shanghai
schema:
type: string
- name: Content-Type
in: header
description: ''
required: true
example: application/json
schema:
type: string
- name: Accept
in: header
description: ''
required: true
example: application/json
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
task_id:
type: string
step:
type: integer
step_category:
type: string
delay_options:
type: object
properties:
measure:
type: string
value:
type: integer
enabled:
type: boolean
required:
- measure
- value
- enabled
include:
type: object
properties: {}
exclude:
type: object
properties: {}
required:
- task_id
- step
- step_category
- delay_options
- include
- exclude
example:
task_id: f3637cc0-4b4f-4186-a38a-3c291fd3476f
step: 1
step_category: manual
delay_options:
measure: hour
value: 10
enabled: true
include: {}
exclude: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: integer
msg:
type: string
data:
type: object
properties:
step:
type: integer
task_id:
type: string
id:
type: integer
total:
type: integer
company_id:
type: string
delay_options:
type: object
properties:
measure:
type: string
value:
type: integer
enabled:
type: boolean
required:
- measure
- value
- enabled
update_by_id:
type: string
step_category:
type: string
include:
type: object
properties: {}
current:
type: integer
stats:
type: string
uid:
type: string
expand:
type: object
properties: {}
scope:
type: string
exclude:
type: object
properties: {}
create_time:
type: string
update_time:
type: string
create_by_id:
type: string
min_rate:
type: integer
required:
- step
- task_id
- id
- total
- company_id
- delay_options
- update_by_id
- step_category
- include
- current
- stats
- uid
- expand
- scope
- exclude
- create_time
- update_time
- create_by_id
- min_rate
required:
- code
- msg
- data
example:
code: 0
msg: success
data:
step: 5
task_id: f3637cc0-4b4f-4186-a38a-3c291fd3476f
id: 10
total: 0
company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
delay_options:
measure: hour
value: 10
enabled: true
update_by_id: 50dcaf08-c0f6-4ffa-8f86-3220e55d4385
step_category: manual
include: {}
current: 0
stats: init
uid: c831a7a8-a0e2-4219-8f89-e7fddba326b2
expand: {}
scope: common
exclude: {}
create_time: '2024-07-26T06:28:45.860971Z'
update_time: '2024-07-26T06:28:45.861000Z'
create_by_id: 50dcaf08-c0f6-4ffa-8f86-3220e55d4385
min_rate: 10000
security: []