Chaitin Tech classification/init_data/recordlist API

数据分类分级/初始化数据/记录列表

OpenAPI Specification

chaitin-classification-init-data-recordlist-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account classification/init_data/recordlist API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: classification/init_data/recordlist
  description: 数据分类分级/初始化数据/记录列表
paths:
  /classification/init_data/recordlist:
    post:
      summary: 导入导出记录
      deprecated: false
      description: ''
      tags:
      - classification/init_data/recordlist
      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:
                queries:
                  type: array
                  items:
                    type: object
                    properties:
                      field:
                        type: string
                      operator:
                        type: string
                      value:
                        type: string
              required:
              - queries
            example:
              queries:
              - field: action
                operator: is
                value: download
      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:
                            create_time:
                              type: string
                            category:
                              type: array
                              items:
                                type: object
                                properties:
                                  name:
                                    type: string
                                  display_name:
                                    type: string
                                required:
                                - name
                                - display_name
                            action:
                              type: string
                            company_id:
                              type: string
                            create_by_id:
                              type: string
                            id:
                              type: integer
                            url:
                              type: string
                            filename:
                              type: string
                            message:
                              type: string
                            update_by_id:
                              type: string
                            conflict:
                              type: string
                            user_name:
                              type: string
                            uid:
                              type: string
                            expand:
                              type: object
                              properties: {}
                            update_time:
                              type: string
                            file_md5:
                              type: string
                            status:
                              type: string
                          required:
                          - create_time
                          - category
                          - action
                          - company_id
                          - create_by_id
                          - id
                          - url
                          - filename
                          - message
                          - update_by_id
                          - conflict
                          - user_name
                          - uid
                          - expand
                          - update_time
                          - file_md5
                          - status
                      page:
                        type: integer
                    required:
                    - total
                    - results
                    - page
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: success
                data:
                  total: 2
                  results:
                  - create_time: '2023-11-09T06:48:48.285492Z'
                    category:
                    - name: network
                      display_name: 网络管理
                    - name: desktop
                      display_name: 桌面管理
                    - name: data_security
                      display_name: 数据安全
                    action: download
                    company_id: 6b0db7d7-9ddd-4400-b976-2a7c112a4c95
                    create_by_id: 6c06f781-9b74-4059-8673-7581df5c66de
                    id: 2
                    url: https://ddr.soumaotech.cn:8443/oss-qzh/6b0db7d7-9ddd-4400-b976-2a7c112a4c95/init_data/%E6%95%B0%E6%8D%AE%E9%BB%98%E8%AE%A4%E6%96%B9%E6%A1%88-5c6eeea11f784bfb9e69181dc1ca9d38.cs?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=private_minio_cluster%2F20231109%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231109T064822Z&X-Amz-Expires=259200&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%2A%3Dutf-8%27%27%25E6%2595%25B0%25E6%258D%25AE%25E9%25BB%2598%25E8%25AE%25A4%25E6%2596%25B9%25E6%25A1%2588-5c6eeea11f784bfb9e69181dc1ca9d38.cs&X-Amz-Signature=9c0b26c42ff3e6c5d6f5d11cb7172ae408541381d3dc1f8806bf293adb02e73d
                    filename: 数据默认方案-5c6eeea11f784bfb9e69181dc1ca9d38.cs
                    message: ''
                    update_by_id: 6c06f781-9b74-4059-8673-7581df5c66de
                    conflict: ''
                    user_name: AuthUser
                    uid: 39bb5590-5095-4ff7-a01a-bb871b2efea8
                    expand: {}
                    update_time: '2023-11-09T06:48:48.285565Z'
                    file_md5: ''
                    status: succeed
                  - create_time: '2023-11-09T06:43:13.362399Z'
                    category:
                    - name: network
                      display_name: 网络管理
                    - name: desktop
                      display_name: 桌面管理
                    - name: data_security
                      display_name: 数据安全
                    action: download
                    company_id: 6b0db7d7-9ddd-4400-b976-2a7c112a4c95
                    create_by_id: 6c06f781-9b74-4059-8673-7581df5c66de
                    id: 1
                    url: https://ddr.soumaotech.cn:8443/oss-qzh/6b0db7d7-9ddd-4400-b976-2a7c112a4c95/init_data/%E6%95%B0%E6%8D%AE%E9%BB%98%E8%AE%A4%E6%96%B9%E6%A1%88-9227509f4c70478389a4efa654cc9b6c.cs?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=private_minio_cluster%2F20231109%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231109T064313Z&X-Amz-Expires=259200&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%2A%3Dutf-8%27%27%25E6%2595%25B0%25E6%258D%25AE%25E9%25BB%2598%25E8%25AE%25A4%25E6%2596%25B9%25E6%25A1%2588-9227509f4c70478389a4efa654cc9b6c.cs&X-Amz-Signature=1cedc05a12ec3169b9336101abbb131f320da5217a7d18147f5c40bcdee05068
                    filename: 数据默认方案-9227509f4c70478389a4efa654cc9b6c.cs
                    message: ''
                    update_by_id: 6c06f781-9b74-4059-8673-7581df5c66de
                    conflict: ''
                    user_name: AuthUser
                    uid: 1d25e2ae-93d9-4000-87a8-4f5a6a805909
                    expand: {}
                    update_time: '2023-11-09T06:43:13.362431Z'
                    file_md5: ''
                    status: succeed
                  page: 1
      security: []