Chaitin Tech software/uninstall/instance/{instance_id}/device/{device_id}/uninstallsource/list API

软件分发与卸载/uninstall 接口/实例/instance_id 参数/设备管理/device_id 参数/卸载来源/列表

OpenAPI Specification

chaitin-software-uninstall-instance-instance-id-device-device-id-uninstallsource-list-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account software/uninstall/instance/{instance_id}/device/{device_id}/uninstallsource/list API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: software/uninstall/instance/{instance_id}/device/{device_id}/uninstallsource/list
  description: 软件分发与卸载/uninstall 接口/实例/instance_id 参数/设备管理/device_id 参数/卸载来源/列表
paths:
  /software/uninstall/instance/{instance_id}/device/{device_id}/uninstallsource/list:
    post:
      summary: 实例终端卸载源列表
      deprecated: false
      description: ''
      tags:
      - software/uninstall/instance/{instance_id}/device/{device_id}/uninstallsource/list
      parameters:
      - name: instance_id
        in: path
        description: ''
        required: true
        example: 127dace1-8e71-433d-ba64-2e5530c4c468
        schema:
          type: string
      - name: device_id
        in: path
        description: ''
        required: true
        example: 6453b864-02b3-4e9b-96bf-2814cd912481
        schema:
          type: string
      - 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:
                            status:
                              type: string
                            display_status:
                              type: string
                            update_time:
                              type: string
                            uninstall_source:
                              type: object
                              properties:
                                registry_id:
                                  type: string
                                update_time:
                                  type: string
                                create_time:
                                  type: string
                                update_by_id:
                                  type: 'null'
                                company_id:
                                  type: string
                                id:
                                  type: integer
                                display_name:
                                  type: string
                                pkg_id:
                                  type: 'null'
                                bundle_id:
                                  type: 'null'
                                family:
                                  type: string
                                uninstall_command:
                                  type: string
                                create_by_id:
                                  type: 'null'
                                uid:
                                  type: string
                              required:
                              - registry_id
                              - update_time
                              - create_time
                              - update_by_id
                              - company_id
                              - id
                              - display_name
                              - pkg_id
                              - bundle_id
                              - family
                              - uninstall_command
                              - create_by_id
                              - uid
                          required:
                          - status
                          - display_status
                          - update_time
                          - uninstall_source
                      page:
                        type: integer
                    required:
                    - total
                    - results
                    - page
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: Normal
                data:
                  total: 2
                  results:
                  - status: created
                    display_status: 未卸载
                    update_time: '2024-10-15T10:00:41.909553Z'
                    uninstall_source:
                      registry_id: registry_id1
                      update_time: '2024-10-15T10:00:41.148416Z'
                      create_time: '2024-10-15T09:29:02.234136Z'
                      update_by_id: null
                      company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
                      id: 11
                      display_name: 测试软件1
                      pkg_id: null
                      bundle_id: null
                      family: Windows
                      uninstall_command: 删除命令
                      create_by_id: null
                      uid: 4d9b1457-bf6a-4034-80c6-7b271887ce60
                  - status: created
                    display_status: 未卸载
                    update_time: '2024-10-15T10:00:41.909728Z'
                    uninstall_source:
                      registry_id: registry_id2
                      update_time: '2024-10-15T10:00:41.160303Z'
                      create_time: '2024-10-15T09:29:02.276445Z'
                      update_by_id: null
                      company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
                      id: 12
                      display_name: 测试软件2
                      pkg_id: null
                      bundle_id: null
                      family: Windows
                      uninstall_command: 删除命令
                      create_by_id: null
                      uid: 7a7f3c61-c3ec-414a-af2d-f51a00ca6bae
                  page: 1
      security: []