Chaitin Tech software/uninstall/instance/list API

软件分发与卸载/uninstall 接口/实例/列表

OpenAPI Specification

chaitin-software-uninstall-instance-list-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account software/uninstall/instance/list API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: software/uninstall/instance/list
  description: 软件分发与卸载/uninstall 接口/实例/列表
paths:
  /software/uninstall/instance/list:
    post:
      summary: 实例列表
      deprecated: false
      description: ''
      tags:
      - software/uninstall/instance/list
      parameters:
      - name: page
        in: query
        description: ''
        required: true
        example: '1'
        schema:
          type: string
      - name: limit
        in: query
        description: ''
        required: true
        example: '10'
        schema:
          type: string
      - name: search
        in: query
        description: ''
        required: true
        example: ''
        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: Accept
        in: header
        description: ''
        required: true
        example: application/json
        schema:
          type: string
      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
                            display_status:
                              type: string
                            scope:
                              type: string
                            name:
                              type: string
                            create_by_id:
                              type: string
                            create_time:
                              type: string
                            status:
                              type: string
                            id:
                              type: integer
                            update_by:
                              type: object
                              properties:
                                uid:
                                  type: string
                                name:
                                  type: string
                                username:
                                  type: string
                                email:
                                  type: string
                              required:
                              - uid
                              - name
                              - username
                              - email
                            company_id:
                              type: string
                            operations:
                              type: array
                              items:
                                type: object
                                properties:
                                  name:
                                    type: string
                                  display_name:
                                    type: string
                                required:
                                - name
                                - display_name
                            update_time:
                              type: string
                          required:
                          - uid
                          - display_status
                          - scope
                          - name
                          - create_by_id
                          - create_time
                          - status
                          - id
                          - update_by
                          - company_id
                          - operations
                          - update_time
                      page:
                        type: integer
                    required:
                    - total
                    - results
                    - page
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: Normal
                data:
                  total: 2
                  results:
                  - uid: 127dace1-8e71-433d-ba64-2e5530c4c468
                    display_status: 执行中
                    scope: global
                    name: 测试6
                    create_by_id: 2834ded5-b1c5-49ff-9655-3d4cc842e2b7
                    create_time: '2024-10-15T10:00:41.167375Z'
                    status: inprogress
                    id: 42
                    update_by:
                      uid: 2834ded5-b1c5-49ff-9655-3d4cc842e2b7
                      name: lbb
                      username: lbb
                      email: 123@123.com
                    company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
                    operations:
                    - name: delete
                      display_name: 删除
                    - name: detail
                      display_name: 详情
                    - name: copy
                      display_name: 复制
                    update_time: '2024-10-15T10:00:41.958381Z'
                  - uid: 7325d643-ec06-4b40-8297-e8bc142275be
                    display_status: 已完成
                    scope: common
                    name: 测试5
                    create_by_id: 2834ded5-b1c5-49ff-9655-3d4cc842e2b7
                    create_time: '2024-10-15T09:49:27.470071Z'
                    status: completed
                    id: 33
                    update_by:
                      uid: 2834ded5-b1c5-49ff-9655-3d4cc842e2b7
                      name: lbb
                      username: lbb
                      email: 123@123.com
                    company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
                    operations:
                    - name: delete
                      display_name: 删除
                    - name: detail
                      display_name: 详情
                    - name: redo
                      display_name: 重试
                    update_time: '2024-10-15T09:49:27.918155Z'
                  page: 1
      security: []