Chaitin Tech softwaremanager/download API

软件管理/下载

OpenAPI Specification

chaitin-softwaremanager-download-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account softwaremanager/download API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: softwaremanager/download
  description: 软件管理/下载
paths:
  /softwaremanager/download:
    post:
      summary: 软件总览导出
      deprecated: false
      description: ''
      tags:
      - softwaremanager/download
      parameters:
      - 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:
                search:
                  type: string
                time_range:
                  type: object
                  properties:
                    begin:
                      type: string
                    end:
                      type: string
                  required:
                  - begin
                  - end
                name:
                  type: string
                output:
                  type: object
                  properties:
                    ext:
                      type: string
                    fields:
                      type: array
                      items:
                        type: object
                        properties:
                          name:
                            type: string
                          display_name:
                            type: string
                  required:
                  - ext
                  - fields
                queries:
                  type: array
                  items: {}
              required:
              - search
              - time_range
              - name
              - output
              - queries
            example:
              search: ''
              time_range:
                begin: '2024-01-01 00:00:00'
                end: '2024-08-15 13:55:20'
              name: vvv
              output:
                ext: xlsx
                fields:
                - name: staff_name
                  display_name: 员工姓名
              queries: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      uid:
                        type: string
                      ext:
                        type: string
                      update_time:
                        type: string
                      description:
                        type: string
                      compress_category:
                        type: 'null'
                      update_by_id:
                        type: string
                      source_fields:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            display_name:
                              type: string
                      begin_time:
                        type: string
                      end_time:
                        type: string
                      encoding:
                        type: string
                      company_id:
                        type: string
                      name:
                        type: string
                      query_params:
                        type: object
                        properties:
                          queries:
                            type: array
                            items: {}
                          filters:
                            type: object
                            properties: {}
                          time_range:
                            type: object
                            properties:
                              begin:
                                type: string
                              end:
                                type: string
                            required:
                            - begin
                            - end
                        required:
                        - queries
                        - filters
                        - time_range
                      create_time:
                        type: string
                      category:
                        type: string
                      create_by_id:
                        type: string
                      state:
                        type: string
                      count:
                        type: integer
                      order_category:
                        type: string
                      quotechar:
                        type: string
                    required:
                    - uid
                    - ext
                    - update_time
                    - description
                    - compress_category
                    - update_by_id
                    - source_fields
                    - begin_time
                    - end_time
                    - encoding
                    - company_id
                    - name
                    - query_params
                    - create_time
                    - category
                    - create_by_id
                    - state
                    - count
                    - order_category
                    - quotechar
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: Normal
                data:
                  uid: b96206c3-ccd5-4bf9-a195-49f67ebfbf11
                  ext: xlsx
                  update_time: '2024-10-11T07:43:15.066435Z'
                  description: ''
                  compress_category: null
                  update_by_id: 2834ded5-b1c5-49ff-9655-3d4cc842e2b7
                  source_fields:
                  - name: staff_name
                    display_name: 员工姓名
                  begin_time: '2023-12-31T16:00:00Z'
                  end_time: '2024-08-15T05:55:20Z'
                  encoding: utf8
                  company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
                  name: vvv
                  query_params:
                    queries: []
                    filters: {}
                    time_range:
                      begin: '2023-12-31T16:00:00Z'
                      end: '2024-08-15T05:55:20Z'
                  create_time: '2024-10-11T07:43:15.066400Z'
                  category: software_manager
                  create_by_id: 2834ded5-b1c5-49ff-9655-3d4cc842e2b7
                  state: created
                  count: 0
                  order_category: desc
                  quotechar: ''
      security: []