OpenAPI Specification
openapi: 3.0.3
info:
title: APISec Management account installer/task/list API
version: '26.05'
description: Generated from APISec skyview APIView classes.
tags:
- name: installer/task/list
description: 终端安装包/任务/列表
paths:
/installer/task/list:
post:
summary: 查询已发布版本任务列表
deprecated: false
description: ''
tags:
- installer/task/list
parameters:
- name: page
in: query
description: ''
required: true
example: '1'
schema:
type: string
- name: limit
in: query
description: ''
required: true
example: '5'
schema:
type: string
- name: status
in: query
description: ''
required: true
example: published
schema:
type: string
- 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: {}
example: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: integer
msg:
type: string
data:
type: object
properties:
total:
type: integer
results:
type: array
items:
type: object
properties:
uid:
type: string
name:
type: string
status:
type: string
next_operations:
type: array
items:
type: string
installer:
type: object
properties:
uid:
type: string
name:
type: string
version:
type: string
architecture:
type: string
family:
type: string
valid_os:
type: array
items:
type: string
update_time:
type: string
required:
- uid
- name
- version
- architecture
- family
- valid_os
- update_time
last_step:
type: object
properties:
step:
type: integer
current:
type: integer
total:
type: integer
stats:
type: string
scope:
type: string
required:
- step
- current
- total
- stats
- scope
update_by:
type: object
properties:
uid:
type: string
name:
type: string
username:
type: string
email:
type: string
required:
- uid
- name
- username
- email
update_time:
type: string
stats:
type: string
required:
- uid
- name
- status
- installer
- last_step
- update_by
- update_time
- stats
- next_operations
page:
type: integer
required:
- total
- results
- page
required:
- code
- msg
- data
example:
code: 0
msg: success
data:
total: 2
results:
- uid: f3637cc0-4b4f-4186-a38a-3c291fd3476f
name: 全量发布1
status: deactivated
next_operations:
- redo
- pause
installer:
uid: 07ec5f03-86e9-40fc-91fb-4994da0631ce
name: DDR Windows v3.3.98
version: 3.3.98
architecture: x86_64
family: Windows
valid_os:
- Win11
- Win10
- Win8
- Win7
update_time: '2024-07-13T07:04:25.218373Z'
last_step:
step: 1
current: 0
total: 0
stats: init
scope: common
update_by:
uid: 50dcaf08-c0f6-4ffa-8f86-3220e55d4385
name: wly
username: wly
email: wly@wly.com
update_time: '2024-07-23T09:59:08.154934Z'
stats: paused
- uid: 4ab7cf4a-72ae-4ba5-a885-20c3957b3041
name: 全量发布1
status: deactivated
installer:
uid: 07ec5f03-86e9-40fc-91fb-4994da0631ce
name: DDR Windows v3.3.98
version: 3.3.98
architecture: x86_64
family: Windows
valid_os:
- Win11
- Win10
- Win8
- Win7
update_time: '2024-07-13T07:04:25.218373Z'
last_step:
step: 1
current: 0
total: 0
stats: init
scope: common
update_by:
uid: 50dcaf08-c0f6-4ffa-8f86-3220e55d4385
name: wly
username: wly
email: wly@wly.com
update_time: '2024-07-23T10:00:34.834592Z'
stats: paused
next_operations:
- redo
- pause
page: 1
security: []