Chaitin Tech system/system/bindingconfig/modify API

系统配置/系统配置/绑定配置/修改

OpenAPI Specification

chaitin-system-system-bindingconfig-modify-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account system/system/bindingconfig/modify API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: system/system/bindingconfig/modify
  description: 系统配置/系统配置/绑定配置/修改
paths:
  /system/system/bindingconfig/modify:
    post:
      summary: 设备绑定配置-修改
      deprecated: false
      description: ''
      tags:
      - system/system/bindingconfig/modify
      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:
                auto:
                  type: object
                  properties:
                    enable:
                      type: boolean
                  required:
                  - enable
                staff:
                  type: object
                  properties:
                    should_overwrite:
                      type: boolean
                    should_prompt:
                      type: boolean
                  required:
                  - should_overwrite
                  - should_prompt
              required:
              - auto
              - staff
            example:
              auto:
                enable: false
              staff:
                should_overwrite: false
                should_prompt: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      uid:
                        type: string
                      company_id:
                        type: string
                      name:
                        type: string
                      display_name:
                        type: string
                      description:
                        type: string
                      create_time:
                        type: string
                      update_time:
                        type: string
                      config:
                        type: object
                        properties:
                          admin:
                            type: object
                            properties:
                              enable:
                                type: boolean
                              should_overwrite:
                                type: boolean
                              should_prompt:
                                type: boolean
                            required:
                            - enable
                            - should_overwrite
                            - should_prompt
                          auto:
                            type: object
                            properties:
                              enable:
                                type: boolean
                              should_overwrite:
                                type: boolean
                              should_prompt:
                                type: boolean
                            required:
                            - enable
                            - should_overwrite
                            - should_prompt
                          staff:
                            type: object
                            properties:
                              enable:
                                type: boolean
                              should_overwrite:
                                type: boolean
                              should_prompt:
                                type: boolean
                            required:
                            - enable
                            - should_overwrite
                            - should_prompt
                        required:
                        - admin
                        - auto
                        - staff
                    required:
                    - uid
                    - company_id
                    - name
                    - display_name
                    - description
                    - create_time
                    - update_time
                    - config
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: success
                data:
                  uid: fb6a9e20-c463-48e9-a209-22f9b2d3fcf1
                  company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
                  name: binding_control_config
                  display_name: 绑定配置配置
                  description: 绑定配置配置
                  create_time: '2023-11-16T07:06:03.872173Z'
                  update_time: '2023-11-16T07:11:41.633664Z'
                  config:
                    admin:
                      enable: true
                      should_overwrite: true
                      should_prompt: false
                    auto:
                      enable: false
                      should_overwrite: false
                      should_prompt: false
                    staff:
                      enable: false
                      should_overwrite: false
                      should_prompt: true
      security: []