update_profile.md 1.94 KB

更新个人资料

OpenAPI Specification

openapi: 3.0.1
info:
  title: ''
  version: 1.0.0
paths:
  /srv/:
    post:
      summary: 更新个人资料
      deprecated: false
      description: ''
      tags:
        - 用户
      parameters:
        - name: f
          in: query
          description: ''
          required: true
          example: manulife
          schema:
            type: string
        - name: a
          in: query
          description: ''
          required: true
          example: user
          schema:
            type: string
        - name: t
          in: query
          description: ''
          required: true
          example: update_profile
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                avatar_url:
                  type: string
              required:
                - avatar_url
              x-apifox-orders:
                - avatar_url
            example:
              avatar_url: http://.../new_avatar.jpg
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: 0=失败,1=成功
                  msg:
                    type: string
                x-apifox-orders:
                  - code
                  - msg
                required:
                  - code
                  - msg
          headers: {}
          x-apifox-name: 成功
          x-apifox-ordering: 0
      security: []
      x-apifox-folder: 用户
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/7792797/apis/api-413906669-run
components:
  schemas: {}
  responses: {}
  securitySchemes: {}
servers: []
security: []