Chaitin Tech system/tedbackupconfig/{config_id} API

系统配置/TED 备份配置/config_id 参数

OpenAPI Specification

chaitin-system-tedbackupconfig-config-id-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account system/tedbackupconfig/{config_id} API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: system/tedbackupconfig/{config_id}
  description: 系统配置/TED 备份配置/config_id 参数
paths:
  /system/tedbackupconfig/{config_id}/:
    post:
      summary: 修改
      deprecated: false
      description: ''
      tags:
      - system/tedbackupconfig/{config_id}
      parameters:
      - name: config_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: 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:
                process_name:
                  type: string
                status:
                  type: string
                family:
                  type: string
                signatures:
                  type: array
                  items:
                    type: string
                update_time:
                  type: string
                name:
                  type: string
                include_file_extensions:
                  type: array
                  items:
                    type: string
                expand:
                  type: object
                  properties: {}
                create_by_id:
                  type: string
                uid:
                  type: string
                update_by_id:
                  type: string
                enhance_encrypt:
                  type: boolean
                exclude_file_extensions:
                  type: array
                  items:
                    type: string
              required:
              - process_name
              - status
              - family
              - signatures
              - update_time
              - name
              - include_file_extensions
              - expand
              - create_by_id
              - uid
              - update_by_id
              - enhance_encrypt
              - exclude_file_extensions
            example:
              process_name: 进程新名称
              status: deactivated
              family: macOS
              signatures:
              - xxx
              update_time: '2024-03-11T02:37:52.760724Z'
              name: TED 加密配置
              include_file_extensions:
              - x.txt
              expand: {}
              create_by_id: 92a20230-f247-453a-ab14-ca40c6c87e96
              uid: 96241600-7469-4eb8-be8f-1ebc12c336db
              update_by_id: 92a20230-f247-453a-ab14-ca40c6c87e96
              enhance_encrypt: false
              exclude_file_extensions:
              - m.jpg
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: 'null'
                required:
                - code
                - msg
                - data
              example:
                code: 5973
                msg: string
                data: null
      security: []