Chaitin Tech installer/version/device/list API

终端安装包/版本/设备管理/列表

OpenAPI Specification

chaitin-installer-version-device-list-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account installer/version/device/list API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: installer/version/device/list
  description: 终端安装包/版本/设备管理/列表
paths:
  /installer/version/device/list:
    post:
      summary: 终端版本信息列表
      deprecated: false
      description: ''
      tags:
      - installer/version/device/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: 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
                            code:
                              type: string
                            family:
                              type: string
                            conn_status:
                              type: string
                            staff_info:
                              type: object
                              properties:
                                code:
                                  type: string
                                name:
                                  type: string
                                uid:
                                  type: string
                                dept_paths:
                                  type: string
                              required:
                              - code
                              - name
                              - uid
                              - dept_paths
                            ip:
                              type: string
                            mac:
                              type: string
                            agent_version:
                              type: string
                            dst_version:
                              type: 'null'
                      page:
                        type: integer
                    required:
                    - total
                    - results
                    - page
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: success
                data:
                  total: 102
                  results:
                  - uid: c900fbb1-d4ca-4972-aa82-cf5519064187
                    code: PC-000001
                    family: Windows
                    conn_status: abnormal
                    staff_info:
                      code: 42448d302c70c3f3
                      name: wbn
                      uid: eb0f5d99-faad-4831-9d49-a9a5355245e3
                      dept_paths: 薮猫大公司/dddd
                    ip: 192.168.96.211
                    mac: A8:64:F1:DC:F0:14
                    agent_version: 3.3.0
                    dst_version: null
                  page: 1
      security: []