Files
NodeBB/public/openapi/read/user/userslug/edit.yaml
Barış Soner Uşaklı f2bbf3693f fix: closes #7221 restrict cropperjs box to profileImageDimension form ACP
this also resizes the image down to that value and sends a small image to server
move profileImageDimenstion & maximumProfileImageSize from edit to all profile pages, on harmony profile pic can be changed from any page by clicking the avatar
change image.resize so it doesn't resize if image is already same width/height
2026-02-21 22:00:28 -05:00

77 lines
2.5 KiB
YAML

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