Chaitin Tech installer/{installer_id}/getmetadata API

终端安装包/installer_id 参数/getmetadata 接口

OpenAPI Specification

chaitin-installer-installer-id-getmetadata-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account installer/{installer_id}/getmetadata API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: installer/{installer_id}/getmetadata
  description: 终端安装包/installer_id 参数/getmetadata 接口
paths:
  /installer/{installer_id}/getmetadata:
    post:
      summary: 检索安装包接口
      deprecated: false
      description: ''
      tags:
      - installer/{installer_id}/getmetadata
      parameters:
      - name: installer_id
        in: path
        description: ''
        required: true
        example: string
        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:
                address:
                  type: object
                  properties:
                    name:
                      type: string
                    port:
                      type: integer
                    heartbeat_port:
                      type: integer
                    scheme:
                      type: string
                    is_default:
                      type: boolean
                    host:
                      type: string
                    env:
                      type: string
                  required:
                  - name
                  - port
                  - heartbeat_port
                  - scheme
                  - is_default
                  - host
                  - env
                ext_args:
                  type: integer
              required:
              - address
              - ext_args
            example:
              address:
                name: 内置通信地址
                port: 8443
                heartbeat_port: 13125
                scheme: https
                is_default: true
                host: 192.168.89.26
                env: internal
              ext_args: 1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      etag:
                        type: string
                      relative_path:
                        type: string
                      last_modified:
                        type: string
                      size:
                        type: integer
                      content_type:
                        type: string
                      filename:
                        type: string
                      url:
                        type: string
                      url_path:
                        type: string
                    required:
                    - etag
                    - relative_path
                    - last_modified
                    - size
                    - content_type
                    - filename
                    - url
                    - url_path
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: success
                data:
                  etag: 83c49d2bf1ec430f759dec3054408ae0
                  relative_path: 6b0db7d7-9ddd-4400-b976-2a7c112a4c95/installer/UOS/arm64/1.5.15/1.5.15/06F4CC7747D50216C9C434A72F26B5F1_2AB34CAFB8DBCBC85E33427CB73FD53D_qzhddr_1.5.15_UOS_arm64.zip
                  last_modified: '2024-05-07T06:21:11Z'
                  size: 11502430
                  content_type: application/octet-stream
                  filename: DDR UOS 1.5.15.zip
                  url: https://192.168.89.32:8443/oss-qzh/6b0db7d7-9ddd-4400-b976-2a7c112a4c95/installer/UOS/arm64/1.5.15/1.5.15/06F4CC7747D50216C9C434A72F26B5F1_2AB34CAFB8DBCBC85E33427CB73FD53D_qzhddr_1.5.15_UOS_arm64.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=private_minio_cluster%2F20240507%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240507T062111Z&X-Amz-Expires=259200&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%2A%3Dutf-8%27%27DDR%2BUOS%2B1.5.15.zip&X-Amz-Signature=3e4f0fd8129063345a6c8e369beb534fadf6720f41f1ff46a7dc02352a43f148
                  url_path: /oss-qzh/6b0db7d7-9ddd-4400-b976-2a7c112a4c95/installer/UOS/arm64/1.5.15/1.5.15/06F4CC7747D50216C9C434A72F26B5F1_2AB34CAFB8DBCBC85E33427CB73FD53D_qzhddr_1.5.15_UOS_arm64.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=private_minio_cluster%2F20240507%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240507T062111Z&X-Amz-Expires=259200&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%2A%3Dutf-8%27%27DDR%2BUOS%2B1.5.15.zip&X-Amz-Signature=3e4f0fd8129063345a6c8e369beb534fadf6720f41f1ff46a7dc02352a43f148
      security: []