Skip to content

Node.js based forum software built for the modern web

2.5 KB
Raw Blame
get:
  tags:
    - users
  summary: Get user profile for editing
  parameters:
    - name: userslug
      in: path
      required: true
      schema:
        type: string
      example: admin
  responses:
    "200":
      description: ""
      content:
        application/json:
          schema:
            allOf:
              - $ref: ../../../components/schemas/UserObject.yaml#/UserObjectFull
              - type: object
                properties:
                  maximumSignatureLength:
                    type: number
                  maximumAboutMeLength:
                    type: number
                  allowProfilePicture:
                    type: boolean
                  allowCoverPicture:
                    type: boolean
                  allowProfileImageUploads:
                    type: number
                  allowedProfileImageExtensions:
                    type: string
                  allowMultipleBadges:
                    type: boolean
                  allowAccountDelete:
                    type: boolean
                  allowAboutMe:
                    type: boolean
                  allowSignature:
                    type: boolean
                  defaultAvatar:
                    type: string
                  sso:
                    type: array
                    items:
                      type: object
                      properties:
                        associated:
                          type: boolean
                        url:
                          type: string
                        name:
                          type: string
                        icon:
                          type: string
                        deauthUrl:
                          type: string
                  groupSelectSize:
                    type: number
                  title:
                    type: string
                  customUserFields:
                    type: array
                  editButtons:
                    type: array
                    items:
                      type: object
                      properties:
                        link:
                          type: string
                          description: A relative path to the page linked to
                        text:
                          type: string
                          description: Button label
              - $ref: ../../../components/schemas/Breadcrumbs.yaml#/Breadcrumbs
              - $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps