Chaitin Tech system/guestportalserverconfig/modify API

系统配置/访客门户服务配置/修改

OpenAPI Specification

chaitin-system-guestportalserverconfig-modify-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account system/guestportalserverconfig/modify API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: system/guestportalserverconfig/modify
  description: 系统配置/访客门户服务配置/修改
paths:
  /system/guestportalserverconfig/modify:
    post:
      summary: V3.2访客Portal配置修改
      deprecated: false
      description: ''
      tags:
      - system/guestportalserverconfig/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:
                portal_web_url:
                  type: string
                portal_name:
                  type: string
                default_net_router:
                  type: string
                listen_port:
                  type: integer
                portal_protocol_version:
                  type: string
                auth_protocol_type:
                  type: string
                shared_password:
                  type: string
                auth_success_redirect:
                  type: string
                auth_fail_redirect:
                  type: string
                user_field_ip:
                  type: string
                wireless_controller_ip_filed:
                  type: string
                user_original_visit_url_field:
                  type: string
                valid_time:
                  type: integer
              required:
              - portal_web_url
              - portal_name
              - default_net_router
              - listen_port
              - portal_protocol_version
              - auth_protocol_type
              - shared_password
              - auth_success_redirect
              - auth_fail_redirect
              - user_field_ip
              - wireless_controller_ip_filed
              - user_original_visit_url_field
              - valid_time
            example:
              portal_web_url: https://www.baidu.com
              portal_name: portal sener1
              default_net_router: 默认互联网路由器uid
              listen_port: 50100
              portal_protocol_version: v2
              auth_protocol_type: PAP
              shared_password: xxxxx
              auth_success_redirect: http://www.baidu.com/success
              auth_fail_redirect: http://www.baidu.com/error
              user_field_ip: xxxx
              wireless_controller_ip_filed: xxxxip
              user_original_visit_url_field: xxxxx
              valid_time: 24
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example: {}
      security: []