Chaitin Tech system/channeldef/{channel_id}/modify API

系统配置/通道定义/channel_id 参数/修改

OpenAPI Specification

chaitin-system-channeldef-channel-id-modify-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account system/channeldef/{channel_id}/modify API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: system/channeldef/{channel_id}/modify
  description: 系统配置/通道定义/channel_id 参数/修改
paths:
  /system/channeldef/{channel_id}/modify:
    post:
      summary: 渠道编辑
      deprecated: false
      description: ''
      tags:
      - system/channeldef/{channel_id}/modify
      parameters:
      - name: channel_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: Accept
        in: header
        description: ''
        required: true
        example: application/json
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  display_name:
                    type: string
                  group_id:
                    type: string
                  windows_config:
                    type: object
                    properties:
                      processes:
                        type: array
                        items: {}
                      file_directory_whitelist:
                        type: array
                        items:
                          type: string
                    required:
                    - processes
                    - file_directory_whitelist
                  windows_config_enabled:
                    type: boolean
                  macos_config:
                    type: object
                    properties:
                      processes:
                        type: array
                        items: {}
                      file_directory_whitelist:
                        type: array
                        items:
                          type: string
                    required:
                    - processes
                    - file_directory_whitelist
                  macos_config_enabled:
                    type: boolean
                  linux_config_enabled:
                    type: boolean
                  kylin_config:
                    type: object
                    properties:
                      processes:
                        type: 'null'
                      file_directory_whitelist:
                        type: array
                        items:
                          type: string
                    required:
                    - processes
                    - file_directory_whitelist
                  kylin_config_enabled:
                    type: boolean
                  uos_config_enabled:
                    type: boolean
                required:
                - display_name
                - group_id
                - windows_config
                - windows_config_enabled
                - macos_config
                - macos_config_enabled
                - linux_config_enabled
                - kylin_config
                - kylin_config_enabled
                - uos_config_enabled
              example:
                display_name: QQ
                group_id: 8f3bb989-1219-469c-9a85-6d9df51d84c3
                windows_config:
                  processes: []
                  file_directory_whitelist:
                  - C:\*\SogouInput\
                windows_config_enabled: true
                macos_config:
                  processes: []
                  file_directory_whitelist:
                  - /var
                macos_config_enabled: true
                linux_config_enabled: false
                kylin_config:
                  processes: null
                  file_directory_whitelist:
                  - /home/*/*/filescan/嵌套文件
                kylin_config_enabled: true
                uos_config_enabled: false
      security: []