Chaitin Tech system/guestportalserverconfig/password_delivery/test/sms API

系统配置/访客门户服务配置/密码投递/测试/短信

OpenAPI Specification

chaitin-system-guestportalserverconfig-password-delivery-test-sms-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account system/guestportalserverconfig/password_delivery/test/sms API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: system/guestportalserverconfig/password_delivery/test/sms
  description: 系统配置/访客门户服务配置/密码投递/测试/短信
paths:
  /system/guestportalserverconfig/password_delivery/test/sms:
    post:
      summary: 访客 Portal 配置 / 短信投递验证码 / 测试
      deprecated: false
      description: ''
      tags:
      - system/guestportalserverconfig/password_delivery/test/sms
      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:
                endpoint:
                  type: string
                method:
                  type: string
                headers:
                  type: object
                  properties:
                    k:
                      type: integer
                  required:
                  - k
                body:
                  type: string
              required:
              - endpoint
              - method
              - headers
              - body
            example:
              endpoint: https://1.2.3.4:5555555/qq.com
              method: POST
              headers:
                k: 1
              body: '123'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      code:
                        type: integer
                      headers:
                        type: object
                        properties:
                          Server:
                            type: string
                          Date:
                            type: string
                          Content-Type:
                            type: string
                          Content-Length:
                            type: string
                          Connection:
                            type: string
                        required:
                        - Server
                        - Date
                        - Content-Type
                        - Content-Length
                        - Connection
                      response:
                        type: string
                    required:
                    - code
                    - headers
                    - response
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: success
                data:
                  code: 200
                  headers:
                    Server: Werkzeug/3.0.1 Python/3.11.6
                    Date: Tue, 30 Jan 2024 10:51:57 GMT
                    Content-Type: application/json
                    Content-Length: '3'
                    Connection: close
                  response: '{}

                    '
      security: []