mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 07:40:43 +01:00
commitafd96a00b1Author: Barış Soner Uşaklı <barisusakli@gmail.com> Date: Thu Nov 7 10:42:33 2024 -0500 chore: up themes commitb40e530434Author: Barış Soner Uşaklı <barisusakli@gmail.com> Date: Wed Nov 6 19:16:44 2024 -0500 feat: add min:rep to custom fields add validation in profile.update commit4b5cb613e5Author: Barış Soner Uşaklı <barisusakli@gmail.com> Date: Wed Nov 6 12:03:22 2024 -0500 test: add openapi spec, move menu button commit0c551fa240Merge:13f39053c9bc00df3cd9Author: Barış Soner Uşaklı <barisusakli@gmail.com> Date: Wed Nov 6 11:48:05 2024 -0500 Merge branch 'develop' into custom-user-fields commit13f39053c9Author: Barış Soner Uşaklı <barisusakli@gmail.com> Date: Wed Jul 31 00:23:39 2024 -0400 refactor: dont need delete function commitf33c8849d8Author: Barış Soner Uşaklı <barisusakli@gmail.com> Date: Tue Jul 30 21:30:00 2024 -0400 feat: show custom fields on edit/profile commit5e1d8769d4Author: Barış Soner Uşaklı <barisusakli@gmail.com> Date: Tue Jul 30 17:08:25 2024 -0400 feat: add custom user fields acp page
88 lines
3.0 KiB
YAML
88 lines
3.0 KiB
YAML
get:
|
|
tags:
|
|
- users
|
|
summary: Get user profile
|
|
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:
|
|
posts:
|
|
$ref: ../../components/schemas/PostsObject.yaml#/PostsObject
|
|
latestPosts:
|
|
$ref: ../../components/schemas/PostsObject.yaml#/PostsObject
|
|
bestPosts:
|
|
$ref: ../../components/schemas/PostsObject.yaml#/PostsObject
|
|
hasPrivateChat:
|
|
type: number
|
|
title:
|
|
type: string
|
|
allowCoverPicture:
|
|
type: boolean
|
|
customUserFields:
|
|
type: array
|
|
selectedGroup:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
slug:
|
|
type: string
|
|
createtime:
|
|
type: number
|
|
userTitle:
|
|
type: string
|
|
description:
|
|
type: string
|
|
memberCount:
|
|
type: number
|
|
deleted:
|
|
type: string
|
|
hidden:
|
|
type: number
|
|
system:
|
|
type: number
|
|
private:
|
|
type: number
|
|
ownerUid:
|
|
type: number
|
|
icon:
|
|
type: string
|
|
labelColor:
|
|
type: string
|
|
cover:url:
|
|
type: string
|
|
cover:position:
|
|
type: string
|
|
userTitleEnabled:
|
|
type: number
|
|
disableJoinRequests:
|
|
type: number
|
|
disableLeave:
|
|
type: number
|
|
nameEncoded:
|
|
type: string
|
|
displayName:
|
|
type: string
|
|
textColor:
|
|
type: string
|
|
createtimeISO:
|
|
type: string
|
|
cover:thumb:url:
|
|
type: string
|
|
- $ref: ../../components/schemas/Breadcrumbs.yaml#/Breadcrumbs
|
|
- $ref: ../../components/schemas/CommonProps.yaml#/CommonProps |