Chaitin Tech whitelist/email/bulkcreate API

白名单管理/邮件/批量创建

OpenAPI Specification

chaitin-whitelist-email-bulkcreate-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account whitelist/email/bulkcreate API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: whitelist/email/bulkcreate
  description: 白名单管理/邮件/批量创建
paths:
  /whitelist/email/bulkcreate:
    post:
      summary: 邮件白名单批量创建
      deprecated: false
      description: ''
      tags:
      - whitelist/email/bulkcreate
      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: 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:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                      description:
                        type: string
                      value_list:
                        type: array
                        items:
                          type: string
                    required:
                    - name
                    - description
                    - value_list
              required:
              - data
            example:
              data:
              - name: name2
                description: string
                value_list:
                - av_scan
                - qwe
              - name: name3
                description: string
                value_list:
                - av_scan
                - ewq
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        update_time:
                          type: string
                        uid:
                          type: string
                        name:
                          type: string
                        description:
                          type: string
                        create_time:
                          type: string
                        company_id:
                          type: string
                        update_by_id:
                          type: string
                        create_by_id:
                          type: string
                        id:
                          type: integer
                        value_list:
                          type: array
                          items:
                            type: string
                      required:
                      - update_time
                      - uid
                      - name
                      - description
                      - create_time
                      - company_id
                      - update_by_id
                      - create_by_id
                      - id
                      - value_list
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: success
                data:
                - update_time: '2024-08-04T13:17:34.480264Z'
                  uid: 3693878e-31cf-48b8-b13f-f6dbc104b012
                  name: name2
                  description: string
                  create_time: '2024-08-04T13:17:34.480234Z'
                  company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
                  update_by_id: 2834ded5-b1c5-49ff-9655-3d4cc842e2b7
                  create_by_id: 2834ded5-b1c5-49ff-9655-3d4cc842e2b7
                  id: 4
                  value_list:
                  - av_scan
                  - qwe
                - update_time: '2024-08-04T13:17:34.517077Z'
                  uid: 75c3f854-353c-488b-9e07-9e74ea64e094
                  name: name3
                  description: string
                  create_time: '2024-08-04T13:17:34.517040Z'
                  company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
                  update_by_id: 2834ded5-b1c5-49ff-9655-3d4cc842e2b7
                  create_by_id: 2834ded5-b1c5-49ff-9655-3d4cc842e2b7
                  id: 5
                  value_list:
                  - av_scan
                  - ewq
      security: []