Skip to content

Node.js based forum software built for the modern web

feat: added UserObject, UserObjectFull, Breadcrumb, Pagination component

Julian Lam64d79fe5f6ca
diff --git a/public/openapi/read.yaml b/public/openapi/read.yaml
index dfd418e627..947c6851b8 100644
--- a/public/openapi/read.yaml
+++ b/public/openapi/read.yaml
@@ -126,6 +126,456 @@ components:
properties:
html:
type: string
+ UserObject:
+ type: object
+ properties:
+ uid:
+ type: number
+ description: A user identifier
+ example: 1
+ username:
+ type: string
+ description: A friendly name for a given user account
+ example: Dragon Fruit
+ userslug:
+ type: string
+ description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
+ example: dragon-fruit
+ email:
+ type: string
+ description: Email address associated with the user account
+ 'email:confirmed':
+ type: number
+ description: Whether the user has confirmed their email address or not
+ example: 1
+ joindate:
+ type: number
+ description: A UNIX timestamp representing the moment the user's account was created
+ example: 1585337827953
+ lastonline:
+ type: number
+ description: A UNIX timestamp representing the moment the user was last recorded online on this site
+ example: 1585337827953
+ picture:
+ type: string
+ description: A URL pointing to a picture to be used as the user's avatar
+ example: 'https://images.unsplash.com/photo-1560070094-e1f2ddec4337?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=256&h=256&q=80'
+ fullname:
+ type: string
+ example: Mr. Dragon Fruit Jr.
+ location:
+ type: string
+ example: 'Toronto, Canada'
+ birthday:
+ type: string
+ description: A birthdate given in an ISO format parseable by the Date object
+ example: 03/27/2020
+ website:
+ type: string
+ example: 'https://example.org'
+ aboutme:
+ type: string
+ example: |
+ This is a paragraph all about how my life got twist-turned upside-down
+ and I'd like to take a minute and sit right here,
+ to tell you all about how I because the administrator of NodeBB
+ signature:
+ type: string
+ example: |
+ This is an example signature
+ It can span multiple lines.
+ uploadedpicture:
+ type: string
+ example: /assets/profile/1-profileimg.png
+ description: 'In almost all cases, defer to "picture" instead. Use this if you need to specifically reference the picture uploaded to the forum.'
+ profileviews:
+ type: number
+ description: The number of times this user's profile has been viewed
+ example: 1000
+ reputation:
+ type: number
+ description: The user's reputation score on the forum. Out-of-the-box, users gain/lose reputation points based on upvotes/downvotes, though plugins can alter the logic and criterion for awarding reputation points
+ example: 100
+ postcount:
+ type: number
+ example: 1000
+ topiccount:
+ type: number
+ example: 50
+ lastposttime:
+ type: number
+ description: A UNIX timestamp representing the moment the user posted last
+ example: 1585337827953
+ banned:
+ type: number
+ description: A Boolean representing whether a user is banned or not
+ example: 0
+ 'banned:expire':
+ type: number
+ description: A UNIX timestamp representing the moment the ban will be lifted
+ example: 1585337827953
+ status:
+ type: string
+ enum:
+ - online
+ - offline
+ - dnd
+ - away
+ example: online
+ flags:
+ type: number
+ example: 0
+ followercount:
+ type: number
+ example: 2
+ followingcount:
+ type: number
+ example: 5
+ 'cover:url':
+ type: string
+ example: /assets/profile/1-cover.png
+ 'cover:position':
+ type: string
+ example: 50.0301% 19.2464%
+ groupTitle:
+ type: string
+ example: '["administrators","Staff"]'
+ groupTitleArray:
+ type: array
+ example:
+ - administrators
+ - Staff
+ 'icon:text':
+ type: string
+ description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
+ example: D
+ 'icon:bgColor':
+ type: string
+ description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
+ example: '#9c27b0'
+ joindateISO:
+ type: string
+ example: '2020-03-27T20:30:36.590Z'
+ lastonlineISO:
+ type: string
+ example: '2020-03-27T20:30:36.590Z'
+ banned_until:
+ type: number
+ description: A UNIX timestamp representing the moment a ban will be lifted
+ example: 0
+ banned_until_readable:
+ type: string
+ description: An ISO 8601 formatted date string representing the moment a ban will be lifted, or the words "Not Banned"
+ example: Not Banned
+ UserObjectFull:
+ type: object
+ properties:
+ uid:
+ type: number
+ description: A user identifier
+ example: 1
+ username:
+ type: string
+ description: A friendly name for a given user account
+ example: Dragon Fruit
+ userslug:
+ type: string
+ description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
+ example: dragon-fruit
+ email:
+ type: string
+ description: Email address associated with the user account
+ 'email:confirmed':
+ type: number
+ description: Whether the user has confirmed their email address or not
+ example: 1
+ joindate:
+ type: number
+ description: A UNIX timestamp representing the moment the user's account was created
+ example: 1585337827953
+ lastonline:
+ type: number
+ description: A UNIX timestamp representing the moment the user was last recorded online on this site
+ example: 1585337827953
+ picture:
+ type: string
+ description: A URL pointing to a picture to be used as the user's avatar
+ example: 'https://images.unsplash.com/photo-1560070094-e1f2ddec4337?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=256&h=256&q=80'
+ fullname:
+ type: string
+ example: Mr. Dragon Fruit Jr.
+ location:
+ type: string
+ example: 'Toronto, Canada'
+ birthday:
+ type: string
+ description: A birthdate given in an ISO format parseable by the Date object
+ example: 03/27/2020
+ website:
+ type: string
+ example: 'https://example.org'
+ aboutme:
+ type: string
+ example: |
+ This is a paragraph all about how my life got twist-turned upside-down
+ and I'd like to take a minute and sit right here,
+ to tell you all about how I because the administrator of NodeBB
+ signature:
+ type: string
+ example: |
+ This is an example signature
+ It can span multiple lines.
+ uploadedpicture:
+ type: string
+ example: /assets/profile/1-profileimg.png
+ description: 'In almost all cases, defer to "picture" instead. Use this if you need to specifically reference the picture uploaded to the forum.'
+ profileviews:
+ type: number
+ description: The number of times this user's profile has been viewed
+ example: 1000
+ reputation:
+ type: number
+ description: The user's reputation score on the forum. Out-of-the-box, users gain/lose reputation points based on upvotes/downvotes, though plugins can alter the logic and criterion for awarding reputation points
+ example: 100
+ postcount:
+ type: number
+ example: 1000
+ topiccount:
+ type: number
+ example: 50
+ lastposttime:
+ type: number
+ description: A UNIX timestamp representing the moment the user posted last
+ example: 1585337827953
+ banned:
+ type: number
+ description: A Boolean representing whether a user is banned or not
+ example: 0
+ 'banned:expire':
+ type: number
+ description: A UNIX timestamp representing the moment the ban will be lifted
+ example: 1585337827953
+ status:
+ type: string
+ enum:
+ - online
+ - offline
+ - dnd
+ - away
+ example: online
+ flags:
+ type: number
+ example: 0
+ followercount:
+ type: number
+ example: 2
+ followingcount:
+ type: number
+ example: 5
+ 'cover:url':
+ type: string
+ example: /assets/profile/1-cover.png
+ 'cover:position':
+ type: string
+ example: 50.0301% 19.2464%
+ groupTitle:
+ type: string
+ example: '["administrators","Staff"]'
+ groupTitleArray:
+ type: array
+ example:
+ - administrators
+ - Staff
+ 'icon:text':
+ type: string
+ description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
+ example: D
+ 'icon:bgColor':
+ type: string
+ description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
+ example: '#9c27b0'
+ joindateISO:
+ type: string
+ example: '2020-03-27T20:30:36.590Z'
+ lastonlineISO:
+ type: string
+ example: '2020-03-27T20:30:36.590Z'
+ banned_until:
+ type: number
+ description: A UNIX timestamp representing the moment a ban will be lifted
+ example: 0
+ banned_until_readable:
+ type: string
+ description: An ISO 8601 formatted date string representing the moment a ban will be lifted, or the words "Not Banned"
+ example: Not Banned
+ aboutmeParsed:
+ type: string
+ age:
+ type: number
+ emailClass:
+ type: string
+ ips:
+ type: array
+ items:
+ type: string
+ moderationNote:
+ type: string
+ isBlocked:
+ type: boolean
+ blocksCount:
+ type: number
+ yourid:
+ type: number
+ theirid:
+ type: number
+ isTargetAdmin:
+ type: boolean
+ isAdmin:
+ type: boolean
+ isGlobalModerator:
+ type: boolean
+ isModerator:
+ type: boolean
+ isAdminOrGlobalModerator:
+ type: boolean
+ isAdminOrGlobalModeratorOrModerator:
+ type: boolean
+ isSelfOrAdminOrGlobalModerator:
+ type: boolean
+ canEdit:
+ type: boolean
+ canBan:
+ type: boolean
+ canChangePassword:
+ type: boolean
+ isSelf:
+ type: boolean
+ isFollowing:
+ type: boolean
+ hasPrivateChat:
+ type: number
+ showHidden:
+ type: boolean
+ groups:
+ type: array
+ items: {}
+ disableSignatures:
+ type: boolean
+ reputation:disabled:
+ type: boolean
+ downvote:disabled:
+ type: boolean
+ profile_links:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ route:
+ type: string
+ name:
+ type: string
+ visibility:
+ type: object
+ properties:
+ self:
+ type: boolean
+ other:
+ type: boolean
+ moderator:
+ type: boolean
+ globalMod:
+ type: boolean
+ admin:
+ type: boolean
+ canViewInfo:
+ type: boolean
+ public:
+ type: boolean
+ icon:
+ type: string
+ sso:
+ type: array
+ items:
+ type: object
+ properties:
+ associated:
+ type: boolean
+ url:
+ type: string
+ name:
+ type: string
+ icon:
+ type: string
+ deauthUrl:
+ type: string
+ websiteLink:
+ type: string
+ websiteName:
+ type: string
+ username:disableEdit:
+ type: number
+ email:disableEdit:
+ type: number
+ Breadcrumbs:
+ type: object
+ properties:
+ breadcrumbs:
+ type: array
+ items:
+ type: object
+ properties:
+ text:
+ type: string
+ url:
+ type: string
+ Pagination:
+ type: object
+ properties:
+ pagination:
+ type: object
+ properties:
+ prev:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ next:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ first:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ last:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ rel:
+ type: array
+ items: {}
+ pages:
+ type: array
+ items: {}
+ currentPage:
+ type: number
+ pageCount:
+ type: number
paths:
/api/:
get:
@@ -750,99 +1200,7 @@ paths:
timestamp:
type: number
user:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: number
- description: Whether the user has confirmed their email address or not
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- type: string
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: number
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- type: string
- fbid:
- type: string
- gplusid:
- type: string
- githubid:
- type: string
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
+ $ref: '#/components/schemas/UserObject'
timestampISO:
type: string
description: An ISO 8601 formatted date string (complementing `timestamp`)
@@ -1614,54 +1972,7 @@ paths:
users:
type: array
items:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- postcount:
- type: number
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- banned:
- type: number
- reputation:
- type: number
- picture:
- nullable: true
- type: string
- flags:
- nullable: true
- lastonline:
- type: number
- email:confirmed:
- type: number
- description: Whether the user has confirmed their email address or not
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until_readable:
- type: string
- administrator:
- type: boolean
+ $ref: '#/components/schemas/UserObject'
page:
type: number
pageCount:
@@ -1895,54 +2206,7 @@ paths:
users:
type: array
items:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- postcount:
- type: number
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- banned:
- type: number
- reputation:
- type: number
- picture:
- nullable: true
- type: string
- flags:
- nullable: true
- lastonline:
- type: number
- email:confirmed:
- type: number
- description: Whether the user has confirmed their email address or not
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until_readable:
- type: string
- administrator:
- type: boolean
+ $ref: '#/components/schemas/UserObject'
page:
type: number
pageCount:
@@ -2099,54 +2363,7 @@ paths:
users:
type: array
items:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- postcount:
- type: number
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- banned:
- type: number
- reputation:
- type: number
- picture:
- nullable: true
- type: string
- flags:
- nullable: true
- lastonline:
- type: number
- email:confirmed:
- type: number
- description: Whether the user has confirmed their email address or not
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until_readable:
- type: string
- administrator:
- type: boolean
+ $ref: '#/components/schemas/UserObject'
page:
type: number
pageCount:
@@ -2572,58 +2789,12 @@ paths:
members:
type: array
items:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- picture:
- type: string
- status:
- type: string
- postcount:
- type: number
- reputation:
- type: number
- email:confirmed:
- type: number
- description: Whether the user has confirmed their email address or not
- lastonline:
- type: number
- flags:
- nullable: true
- banned:
- type: number
- banned:expire:
- type: number
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- administrator:
- type: boolean
- isOwner:
- type: boolean
+ allOf:
+ - $ref: '#/components/schemas/UserObject'
+ - type: object
+ properties:
+ isOwner:
+ type: boolean
membersNextStart:
type: number
pending:
@@ -4216,6 +4387,7 @@ paths:
style:
type: string
/api/me:
+ # This is confusing -- /me redirect to user profile, but /api/me doesn't?
get:
tags:
- shorthand
@@ -4226,219 +4398,32 @@ paths:
content:
application/json:
schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- nullable: true
- fbid:
- nullable: true
- gplusid:
- type: string
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- hasPrivateChat:
- type: number
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- deauthUrl:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- "401":
+ $ref: '#/components/schemas/UserObjectFull'
+ "/api/user/uid/{uid}":
+ get:
+ tags:
+ - users
+ summary: /api/user/uid/{uid}
+ parameters:
+ - name: uid
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
description: ""
content:
application/json:
schema:
- title: not-authorized
- type: undefined
- "/api/user/uid/{uid}":
+ $ref: '#/components/schemas/UserObject'
+ "/api/user/username/{username}":
get:
tags:
- users
- summary: /api/user/uid/{uid}
+ summary: /api/user/username/{username}
parameters:
- - name: uid
+ - name: username
in: path
required: true
schema:
@@ -4449,105 +4434,7 @@ paths:
content:
application/json:
schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:confirmed:
- type: number
- description: Whether the user has confirmed their email address or not
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- location:
- nullable: true
- birthday:
- nullable: true
- website:
- nullable: true
- aboutme:
- type: string
- signature:
- nullable: true
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: number
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- nullable: true
- cover:position:
- nullable: true
- groupTitle:
- nullable: true
- fbid:
- nullable: true
- gplusid:
- nullable: true
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- "/api/user/username/{username}":
- get:
- tags:
- - users
- summary: /api/user/username/{username}
- parameters:
- - name: username
- in: path
- required: true
- schema:
- type: string
- responses: {}
+ $ref: '#/components/schemas/UserObject'
"/api/user/email/{email}":
get:
tags:
@@ -4565,201 +4452,7 @@ paths:
content:
application/json:
schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:confirmed:
- type: number
- description: Whether the user has confirmed their email address or not
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- type: string
- signature:
- nullable: true
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: number
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- nullable: true
- fbid:
- nullable: true
- gplusid:
- type: string
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- text/plain:
- schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:confirmed:
- type: number
- description: Whether the user has confirmed their email address or not
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- type: string
- signature:
- nullable: true
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: number
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- nullable: true
- fbid:
- nullable: true
- gplusid:
- type: string
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- "404":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- path:
- type: string
- title:
- type: string
- text/plain:
- schema:
- type: object
- properties:
- path:
- type: string
- title:
- type: string
+ $ref: '#/components/schemas/UserObject'
"/api/user/uid/{userslug}/export/posts":
get:
tags:
@@ -9160,116 +8853,7 @@ paths:
assignees:
type: array
items:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: number
- description: Whether the user has confirmed their email address or not
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- nullable: true
- type: string
- fullname:
- nullable: true
- type: string
- location:
- nullable: true
- type: string
- birthday:
- nullable: true
- type: string
- website:
- nullable: true
- type: string
- aboutme:
- nullable: true
- type: string
- signature:
- nullable: true
- type: string
- uploadedpicture:
- nullable: true
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: number
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- type: number
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- nullable: true
- type: string
- cover:position:
- nullable: true
- type: string
- groupTitle:
- type: string
- fbid:
- nullable: true
- type: string
- gplusid:
- oneOf:
- - type: string
- - type: number
- nullable: true
- githubid:
- nullable: true
- type: string
- twid:
- nullable: true
- type: string
- groupTitleArray:
- type: array
- items:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
+ $ref: '#/components/schemas/UserObject'
type_bool:
type: object
properties:
@@ -12754,7 +12338,7 @@ paths:
get:
tags:
- users
- summary: /api/user/{userslug}
+ summary: Get user profile
parameters:
- name: userslug
in: path
@@ -12767,1638 +12351,1082 @@ paths:
content:
application/json:
schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- type: string
- fbid:
- type: string
- gplusid:
- nullable: true
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- showHidden:
- type: boolean
- groups:
- 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
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items: {}
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- deauthUrl:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- posts:
- type: array
- items:
- type: object
- properties:
- pid:
- type: number
- tid:
- type: number
- description: A topic identifier
- content:
- type: string
- uid:
- type: number
- description: A user identifier
- timestamp:
- type: number
- deleted:
- type: boolean
- upvotes:
- type: number
- downvotes:
- type: number
- votes:
- type: number
- timestampISO:
- type: string
- description: An ISO 8601 formatted date string (complementing `timestamp`)
- user:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- picture:
- type: string
- status:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- topic:
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
+ properties:
+ posts:
+ type: array
+ items:
type: object
properties:
- uid:
+ pid:
type: number
- description: A user identifier
tid:
type: number
description: A topic identifier
- title:
- type: string
- cid:
- type: number
- description: A category identifier
- slug:
+ content:
type: string
- deleted:
+ uid:
type: number
- postcount:
+ description: A user identifier
+ timestamp:
type: number
- mainPid:
+ deleted:
+ type: boolean
+ upvotes:
type: number
- description: The post id of the first post in this topic (also called the "original post")
- titleRaw:
- type: string
- category:
- type: object
- properties:
- cid:
+ downvotes:
type: number
- description: A category identifier
- name:
- type: string
- icon:
- type: string
- slug:
- type: string
- parentCid:
+ votes:
type: number
- description: The category identifier for the category that is the immediate ancestor of the current category
- bgColor:
- type: string
- color:
+ timestampISO:
type: string
- image:
- nullable: true
- imageClass:
- nullable: true
- isMainPost:
- type: boolean
- latestPosts:
- type: array
- items:
- type: object
- properties:
- pid:
- type: number
- tid:
- type: number
- description: A topic identifier
- content:
- type: string
- uid:
- type: number
- description: A user identifier
- timestamp:
- type: number
- deleted:
- type: boolean
- upvotes:
- type: number
- downvotes:
- type: number
- votes:
- type: number
- timestampISO:
- type: string
- description: An ISO 8601 formatted date string (complementing `timestamp`)
- user:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- picture:
- type: string
- status:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- topic:
+ description: An ISO 8601 formatted date string (complementing `timestamp`)
+ user:
+ type: object
+ properties:
+ uid:
+ type: number
+ description: A user identifier
+ username:
+ type: string
+ description: A friendly name for a given user account
+ userslug:
+ type: string
+ description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
+ picture:
+ type: string
+ status:
+ type: string
+ icon:text:
+ type: string
+ description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
+ icon:bgColor:
+ type: string
+ description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
+ example: "#f44336"
+ topic:
+ type: object
+ properties:
+ uid:
+ type: number
+ description: A user identifier
+ tid:
+ type: number
+ description: A topic identifier
+ title:
+ type: string
+ cid:
+ type: number
+ description: A category identifier
+ slug:
+ type: string
+ deleted:
+ type: number
+ postcount:
+ type: number
+ mainPid:
+ type: number
+ description: The post id of the first post in this topic (also called the "original post")
+ titleRaw:
+ type: string
+ category:
+ type: object
+ properties:
+ cid:
+ type: number
+ description: A category identifier
+ name:
+ type: string
+ icon:
+ type: string
+ slug:
+ type: string
+ parentCid:
+ type: number
+ description: The category identifier for the category that is the immediate ancestor of the current category
+ bgColor:
+ type: string
+ color:
+ type: string
+ image:
+ nullable: true
+ imageClass:
+ nullable: true
+ isMainPost:
+ type: boolean
+ latestPosts:
+ type: array
+ items:
type: object
properties:
- uid:
+ pid:
type: number
- description: A user identifier
tid:
type: number
description: A topic identifier
- title:
+ content:
type: string
- cid:
+ uid:
+ type: number
+ description: A user identifier
+ timestamp:
type: number
- description: A category identifier
- slug:
- type: string
deleted:
+ type: boolean
+ upvotes:
type: number
- postcount:
+ downvotes:
type: number
- mainPid:
+ votes:
type: number
- description: The post id of the first post in this topic (also called the "original post")
- titleRaw:
+ timestampISO:
type: string
- category:
+ description: An ISO 8601 formatted date string (complementing `timestamp`)
+ user:
+ type: object
+ properties:
+ uid:
+ type: number
+ description: A user identifier
+ username:
+ type: string
+ description: A friendly name for a given user account
+ userslug:
+ type: string
+ description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
+ picture:
+ type: string
+ status:
+ type: string
+ icon:text:
+ type: string
+ description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
+ icon:bgColor:
+ type: string
+ description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
+ example: "#f44336"
+ topic:
+ type: object
+ properties:
+ uid:
+ type: number
+ description: A user identifier
+ tid:
+ type: number
+ description: A topic identifier
+ title:
+ type: string
+ cid:
+ type: number
+ description: A category identifier
+ slug:
+ type: string
+ deleted:
+ type: number
+ postcount:
+ type: number
+ mainPid:
+ type: number
+ description: The post id of the first post in this topic (also called the "original post")
+ titleRaw:
+ type: string
+ category:
+ type: object
+ properties:
+ cid:
+ type: number
+ description: A category identifier
+ name:
+ type: string
+ icon:
+ type: string
+ slug:
+ type: string
+ parentCid:
+ type: number
+ description: The category identifier for the category that is the immediate ancestor of the current category
+ bgColor:
+ type: string
+ color:
+ type: string
+ image:
+ nullable: true
+ imageClass:
+ nullable: true
+ isMainPost:
+ type: boolean
+ bestPosts:
+ type: array
+ items:
type: object
properties:
- cid:
+ pid:
type: number
- description: A category identifier
- name:
- type: string
- icon:
- type: string
- slug:
- type: string
- parentCid:
+ tid:
type: number
- description: The category identifier for the category that is the immediate ancestor of the current category
- bgColor:
- type: string
- color:
+ description: A topic identifier
+ content:
type: string
- image:
- nullable: true
- imageClass:
- nullable: true
- isMainPost:
- type: boolean
- bestPosts:
- type: array
- items:
- type: object
- properties:
- pid:
- type: number
- tid:
- type: number
- description: A topic identifier
- content:
- type: string
- uid:
- type: number
- description: A user identifier
- timestamp:
- type: number
- deleted:
- type: boolean
- upvotes:
- type: number
- downvotes:
- type: number
- votes:
- type: number
- timestampISO:
- type: string
- description: An ISO 8601 formatted date string (complementing `timestamp`)
- user:
- type: object
- properties:
uid:
type: number
description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- picture:
- type: string
- status:
+ timestamp:
+ type: number
+ deleted:
+ type: boolean
+ upvotes:
+ type: number
+ downvotes:
+ type: number
+ votes:
+ type: number
+ timestampISO:
type: string
- icon:text:
+ description: An ISO 8601 formatted date string (complementing `timestamp`)
+ user:
+ type: object
+ properties:
+ uid:
+ type: number
+ description: A user identifier
+ username:
+ type: string
+ description: A friendly name for a given user account
+ userslug:
+ type: string
+ description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
+ picture:
+ type: string
+ status:
+ type: string
+ icon:text:
+ type: string
+ description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
+ icon:bgColor:
+ type: string
+ description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
+ example: "#f44336"
+ topic:
+ type: object
+ properties:
+ uid:
+ type: number
+ description: A user identifier
+ tid:
+ type: number
+ description: A topic identifier
+ title:
+ type: string
+ cid:
+ type: number
+ description: A category identifier
+ slug:
+ type: string
+ deleted:
+ type: number
+ postcount:
+ type: number
+ mainPid:
+ type: number
+ description: The post id of the first post in this topic (also called the "original post")
+ titleRaw:
+ type: string
+ category:
+ type: object
+ properties:
+ cid:
+ type: number
+ description: A category identifier
+ name:
+ type: string
+ icon:
+ type: string
+ slug:
+ type: string
+ parentCid:
+ type: number
+ description: The category identifier for the category that is the immediate ancestor of the current category
+ bgColor:
+ type: string
+ color:
+ type: string
+ image:
+ nullable: true
+ imageClass:
+ nullable: true
+ type: string
+ isMainPost:
+ type: boolean
+ hasPrivateChat:
+ type: number
+ breadcrumbs:
+ type: array
+ items:
+ type: object
+ properties:
+ text:
type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
+ url:
type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- topic:
+ title:
+ type: string
+ allowCoverPicture:
+ type: boolean
+ selectedGroup:
+ type: array
+ items:
type: object
properties:
- uid:
+ name:
+ type: string
+ slug:
+ type: string
+ createtime:
type: number
- description: A user identifier
- tid:
+ userTitle:
+ type: string
+ description:
+ type: string
+ memberCount:
type: number
- description: A topic identifier
- title:
+ deleted:
type: string
- cid:
+ hidden:
type: number
- description: A category identifier
- slug:
+ system:
+ type: number
+ private:
+ type: number
+ ownerUid:
+ type: number
+ icon:
type: string
- deleted:
+ labelColor:
+ type: string
+ cover:url:
+ type: string
+ cover:position:
+ type: string
+ userTitleEnabled:
type: number
- postcount:
+ disableJoinRequests:
type: number
- mainPid:
+ disableLeave:
type: number
- description: The post id of the first post in this topic (also called the "original post")
- titleRaw:
+ nameEncoded:
type: string
- category:
+ displayName:
+ type: string
+ textColor:
+ type: string
+ createtimeISO:
+ type: string
+ cover:thumb:url:
+ type: string
+ template:
+ type: object
+ properties:
+ name:
+ type: string
+ account/profile:
+ type: boolean
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/following":
+ get:
+ tags:
+ - users
+ summary: Get followed users
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ - name: page
+ in: query
+ schema:
+ type: number
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
+ properties:
+ title:
+ type: string
+ users:
+ type: array
+ items:
type: object
properties:
- cid:
+ uid:
type: number
- description: A category identifier
- name:
+ description: A user identifier
+ username:
type: string
- icon:
+ description: A friendly name for a given user account
+ userslug:
type: string
- slug:
+ description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
+ picture:
+ nullable: true
type: string
- parentCid:
+ status:
+ type: string
+ postcount:
type: number
- description: The category identifier for the category that is the immediate ancestor of the current category
- bgColor:
+ reputation:
+ type: number
+ email:confirmed:
+ type: number
+ description: Whether the user has confirmed their email address or not
+ lastonline:
+ type: number
+ flags:
+ nullable: true
+ banned:
+ type: number
+ banned:expire:
+ type: number
+ joindate:
+ type: number
+ description: A UNIX timestamp representing the moment the user's account was created
+ icon:text:
type: string
- color:
+ description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
+ icon:bgColor:
type: string
- image:
- nullable: true
- imageClass:
- nullable: true
+ description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
+ example: "#f44336"
+ joindateISO:
type: string
- isMainPost:
- type: boolean
- hasPrivateChat:
- type: number
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- title:
- type: string
- allowCoverPicture:
- type: boolean
- 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
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
+ lastonlineISO:
+ type: string
+ banned_until:
+ type: number
+ banned_until_readable:
+ type: string
+ administrator:
+ type: boolean
+ template:
+ type: object
+ properties:
+ name:
+ type: string
+ account/following:
+ type: boolean
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/Pagination'
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/followers":
+ get:
+ tags:
+ - users
+ summary: Get followers
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ - name: page
+ in: query
+ schema:
+ type: number
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
properties:
- name:
+ title:
type: string
- account/profile:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
+ users:
+ type: array
+ items:
+ type: object
+ properties:
+ uid:
+ type: number
+ description: A user identifier
+ username:
+ type: string
+ description: A friendly name for a given user account
+ userslug:
+ type: string
+ description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
+ picture:
+ nullable: true
+ type: string
+ status:
+ type: string
+ postcount:
+ type: number
+ reputation:
+ type: number
+ email:confirmed:
+ type: number
+ description: Whether the user has confirmed their email address or not
+ lastonline:
+ type: number
+ flags:
+ nullable: true
+ banned:
+ type: number
+ banned:expire:
+ type: number
+ joindate:
+ type: number
+ description: A UNIX timestamp representing the moment the user's account was created
+ icon:text:
+ type: string
+ description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
+ icon:bgColor:
+ type: string
+ description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
+ example: "#f44336"
+ joindateISO:
+ type: string
+ lastonlineISO:
+ type: string
+ banned_until:
+ type: number
+ banned_until_readable:
+ type: string
+ administrator:
+ type: boolean
+ template:
type: object
properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
+ name:
+ type: string
+ account/followers:
+ type: boolean
+ - $ref: '#/components/schemas/Pagination'
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/categories":
+ get:
+ tags:
+ - users
+ summary: /api/user/{userslug}/categories
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
properties:
- footer:
+ categories:
type: array
items:
type: object
properties:
- html:
+ cid:
+ type: number
+ description: A category identifier
+ name:
type: string
- text/plain:
+ level:
+ type: string
+ icon:
+ type: string
+ parentCid:
+ type: number
+ description: The category identifier for the category that is the immediate ancestor of the current category
+ color:
+ type: string
+ bgColor:
+ type: string
+ descriptionParsed:
+ type: string
+ depth:
+ type: number
+ slug:
+ type: string
+ isIgnored:
+ type: boolean
+ isWatched:
+ type: boolean
+ isNotWatched:
+ type: boolean
+ imageClass:
+ type: string
+ title:
+ type: string
+ template:
+ type: object
+ properties:
+ name:
+ type: string
+ account/categories:
+ type: boolean
+ "/api/user/{userslug}/posts":
+ get:
+ tags:
+ - users
+ summary: /api/user/{userslug}/posts
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- type: string
- fbid:
- type: string
- gplusid:
- nullable: true
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- showHidden:
- type: boolean
- groups:
- 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
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items: {}
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- deauthUrl:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- posts:
- type: array
- items:
- type: object
- properties:
- pid:
- type: number
- tid:
- type: number
- description: A topic identifier
- content:
- type: string
- uid:
- type: number
- description: A user identifier
- timestamp:
- type: number
- deleted:
- type: boolean
- upvotes:
- type: number
- downvotes:
- type: number
- votes:
- type: number
- timestampISO:
- type: string
- description: An ISO 8601 formatted date string (complementing `timestamp`)
- user:
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
+ properties:
+ posts:
+ type: array
+ items: {}
+ nextStart:
+ type: number
+ noItemsFoundKey:
+ type: string
+ title:
+ type: string
+ showSort:
+ type: boolean
+ sortOptions:
+ type: array
+ items:
type: object
properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
+ url:
type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- picture:
+ name:
type: string
- status:
+ selected:
+ type: boolean
+ template:
+ type: object
+ properties:
+ name:
+ type: string
+ account/posts:
+ type: boolean
+ - $ref: '#/components/schemas/Pagination'
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/topics":
+ get:
+ tags:
+ - users
+ summary: /api/user/{userslug}/topics
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ allOf:
+ - $ref: '#/components/schemas/UserObject'
+ - type: object
+ properties:
+ age:
+ type: number
+ emailClass:
+ type: string
+ moderationNote:
+ type: string
+ isBlocked:
+ type: boolean
+ yourid:
+ type: number
+ theirid:
+ type: number
+ isTargetAdmin:
+ type: boolean
+ isAdmin:
+ type: boolean
+ isGlobalModerator:
+ type: boolean
+ isModerator:
+ type: boolean
+ isAdminOrGlobalModerator:
+ type: boolean
+ isAdminOrGlobalModeratorOrModerator:
+ type: boolean
+ isSelfOrAdminOrGlobalModerator:
+ type: boolean
+ canEdit:
+ type: boolean
+ canBan:
+ type: boolean
+ canChangePassword:
+ type: boolean
+ isSelf:
+ type: boolean
+ isFollowing:
+ type: boolean
+ showHidden:
+ type: boolean
+ groups:
+ type: array
+ items: {}
+ disableSignatures:
+ type: boolean
+ reputation:disabled:
+ type: boolean
+ downvote:disabled:
+ type: boolean
+ profile_links:
+ type: array
+ items: {}
+ sso:
+ type: array
+ items:
+ type: object
+ properties:
+ associated:
+ type: boolean
+ url:
type: string
- icon:text:
+ name:
type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
+ icon:
type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- topic:
+ websiteLink:
+ type: string
+ websiteName:
+ type: string
+ username:disableEdit:
+ type: number
+ email:disableEdit:
+ type: number
+ topics:
+ type: array
+ items:
type: object
properties:
- uid:
- type: number
- description: A user identifier
- tid:
+ tid:
type: number
description: A topic identifier
- title:
- type: string
- cid:
- type: number
- description: A category identifier
- slug:
- type: string
- deleted:
- type: number
- postcount:
- type: number
- mainPid:
+ uid:
type: number
- description: The post id of the first post in this topic (also called the "original post")
- titleRaw:
- type: string
- category:
- type: object
- properties:
+ description: A user identifier
cid:
type: number
description: A category identifier
- name:
- type: string
- icon:
+ title:
type: string
slug:
type: string
- parentCid:
- type: number
- description: The category identifier for the category that is the immediate ancestor of the current category
- bgColor:
- type: string
- color:
- type: string
- image:
- nullable: true
- imageClass:
- nullable: true
- isMainPost:
- type: boolean
- latestPosts:
- type: array
- items:
- type: object
- properties:
- pid:
- type: number
- tid:
- type: number
- description: A topic identifier
- content:
- type: string
- uid:
- type: number
- description: A user identifier
- timestamp:
- type: number
- deleted:
- type: boolean
- upvotes:
- type: number
- downvotes:
- type: number
- votes:
- type: number
- timestampISO:
- type: string
- description: An ISO 8601 formatted date string (complementing `timestamp`)
- user:
- type: object
- properties:
- uid:
+ timestamp:
type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- picture:
- type: string
- status:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- topic:
- type: object
- properties:
- uid:
+ lastposttime:
type: number
- description: A user identifier
- tid:
+ postcount:
type: number
- description: A topic identifier
- title:
- type: string
- cid:
+ viewcount:
type: number
- description: A category identifier
- slug:
+ thumb:
type: string
- deleted:
- type: number
- postcount:
- type: number
mainPid:
type: number
description: The post id of the first post in this topic (also called the "original post")
- titleRaw:
- type: string
- category:
- type: object
- properties:
- cid:
- type: number
- description: A category identifier
- name:
- type: string
- icon:
- type: string
- slug:
- type: string
- parentCid:
- type: number
- description: The category identifier for the category that is the immediate ancestor of the current category
- bgColor:
- type: string
- color:
- type: string
- image:
- nullable: true
- imageClass:
- nullable: true
- isMainPost:
- type: boolean
- bestPosts:
- type: array
- items:
- type: object
- properties:
- pid:
- type: number
- tid:
- type: number
- description: A topic identifier
- content:
- type: string
- uid:
- type: number
- description: A user identifier
- timestamp:
- type: number
- deleted:
- type: boolean
- upvotes:
- type: number
- downvotes:
- type: number
- votes:
- type: number
- timestampISO:
- type: string
- description: An ISO 8601 formatted date string (complementing `timestamp`)
- user:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- picture:
- type: string
- status:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- topic:
- type: object
- properties:
- uid:
+ teaserPid:
type: number
- description: A user identifier
- tid:
+ upvotes:
type: number
- description: A topic identifier
- title:
- type: string
- cid:
+ downvotes:
type: number
- description: A category identifier
- slug:
- type: string
deleted:
type: number
- postcount:
+ locked:
type: number
- mainPid:
+ pinned:
type: number
- description: The post id of the first post in this topic (also called the "original post")
+ description: Whether or not this particular topic is pinned to the top of the category
titleRaw:
type: string
- category:
- type: object
- properties:
- cid:
- type: number
- description: A category identifier
- name:
- type: string
- icon:
+ timestampISO:
type: string
- slug:
+ description: An ISO 8601 formatted date string (complementing `timestamp`)
+ lastposttimeISO:
type: string
- parentCid:
+ votes:
type: number
- description: The category identifier for the category that is the immediate ancestor of the current category
- bgColor:
- type: string
- color:
- type: string
- image:
- nullable: true
- imageClass:
- nullable: true
- type: string
- isMainPost:
- type: boolean
- hasPrivateChat:
- type: number
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- title:
- type: string
- allowCoverPicture:
- type: boolean
- 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
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/profile:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
+ category:
type: object
properties:
+ cid:
+ type: number
+ description: A category identifier
name:
type: string
- content:
+ slug:
type: string
- noEscape:
- type: boolean
- property:
+ icon:
type: string
- link:
- type: array
- items:
+ image:
+ nullable: true
+ imageClass:
+ nullable: true
+ bgColor:
+ type: string
+ color:
+ type: string
+ disabled:
+ type: number
+ user:
type: object
properties:
- rel:
+ uid:
+ type: number
+ description: A user identifier
+ username:
type: string
- type:
+ description: A friendly name for a given user account
+ userslug:
type: string
- href:
+ description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
+ reputation:
+ type: number
+ postcount:
+ type: number
+ picture:
+ nullable: true
+ signature:
type: string
- title:
+ banned:
+ type: number
+ status:
type: string
- sizes:
+ icon:text:
type: string
- widgets:
- type: object
- properties:
- footer:
+ description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
+ icon:bgColor:
+ type: string
+ description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
+ example: "#f44336"
+ banned_until_readable:
+ type: string
+ teaser:
+ type: object
+ properties:
+ pid:
+ type: number
+ uid:
+ type: number
+ description: A user identifier
+ timestamp:
+ type: number
+ tid:
+ type: number
+ description: A topic identifier
+ content:
+ type: string
+ timestampISO:
+ type: string
+ description: An ISO 8601 formatted date string (complementing `timestamp`)
+ user:
+ type: object
+ properties:
+ uid:
+ type: number
+ description: A user identifier
+ username:
+ type: string
+ description: A friendly name for a given user account
+ userslug:
+ type: string
+ description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
+ picture:
+ nullable: true
+ type: string
+ icon:text:
+ type: string
+ description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
+ icon:bgColor:
+ type: string
+ description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
+ example: "#f44336"
+ index:
+ type: number
+ tags:
+ type: array
+ items: {}
+ isOwner:
+ type: boolean
+ ignored:
+ type: boolean
+ unread:
+ type: boolean
+ bookmark:
+ nullable: true
+ unreplied:
+ type: boolean
+ icons:
+ type: array
+ items: {}
+ index:
+ type: number
+ nextStart:
+ type: number
+ pagination:
+ type: object
+ properties:
+ prev:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ next:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ first:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ last:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ rel:
+ type: array
+ items: {}
+ pages:
+ type: array
+ items: {}
+ currentPage:
+ type: number
+ pageCount:
+ type: number
+ noItemsFoundKey:
+ type: string
+ title:
+ type: string
+ breadcrumbs:
type: array
items:
type: object
properties:
- html:
+ text:
type: string
- "304":
- description: ""
- "404":
- description: ""
- content:
- application/json:
- schema:
- type: string
- example: Not Found
- text/plain:
- schema:
- type: string
- example: Not Found
- "/api/user/{userslug}/following":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/following
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- nullable: true
- fbid:
- nullable: true
- gplusid:
- type: string
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
+ url:
+ type: string
+ showSort:
+ type: boolean
+ sortOptions:
+ type: array
+ items:
type: object
properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
+ url:
+ type: string
+ name:
+ type: string
+ selected:
type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- deauthUrl:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- title:
- type: string
- users:
- type: array
- items: {}
- pagination:
- type: object
- properties:
- prev:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- next:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- first:
+ loggedIn:
+ type: boolean
+ relative_path:
+ type: string
+ template:
type: object
properties:
- page:
- type: number
- active:
+ name:
+ type: string
+ account/topics:
type: boolean
- last:
+ url:
+ type: string
+ bodyClass:
+ type: string
+ _header:
type: object
properties:
- page:
- type: number
- active:
- type: boolean
- rel:
- type: array
- items: {}
- pages:
- type: array
- items: {}
- currentPage:
- type: number
- pageCount:
- type: number
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/following:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
+ tags:
+ type: object
+ properties:
+ meta:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ content:
+ type: string
+ noEscape:
+ type: boolean
+ property:
+ type: string
+ link:
+ type: array
+ items:
+ type: object
+ properties:
+ rel:
+ type: string
+ type:
+ type: string
+ href:
+ type: string
+ title:
+ type: string
+ sizes:
+ type: string
+ widgets:
type: object
properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
+ footer:
type: array
items:
type: object
properties:
- rel:
+ html:
type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
- "/api/user/{userslug}/followers":
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/best":
get:
tags:
- users
- summary: /api/user/{userslug}/followers
+ summary: /api/user/{userslug}/best
parameters:
- name: userslug
in: path
@@ -14411,448 +13439,145 @@ paths:
content:
application/json:
schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- type: string
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- type: string
- fbid:
- type: string
- gplusid:
- type: string
- githubid:
- type: string
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- aboutmeParsed:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- showHidden:
- type: boolean
- groups:
- 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:
- oneOf:
- - type: string
- - type: number
- hidden:
- type: number
- system:
- type: number
- private:
- type: number
- ownerUid:
- type: number
- icon:
- type: string
- labelColor:
- 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
- cover:url:
- type: string
- cover:position:
- type: string
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- deauthUrl:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- moderationNote:
- type: string
- username:disableEdit:
- type: boolean
- email:disableEdit:
- type: boolean
- title:
- type: string
- users:
- type: array
- items:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- picture:
- nullable: true
- type: string
- status:
- type: string
- postcount:
- type: number
- reputation:
- type: number
- email:confirmed:
- type: number
- description: Whether the user has confirmed their email address or not
- lastonline:
- type: number
- flags:
- nullable: true
- banned:
- type: number
- banned:expire:
- type: number
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- administrator:
- type: boolean
- pagination:
- type: object
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
properties:
- rel:
+ posts:
type: array
items:
type: object
properties:
- rel:
- type: string
- href:
+ pid:
+ type: number
+ tid:
+ type: number
+ description: A topic identifier
+ content:
type: string
- pages:
- type: array
- items:
- type: object
- properties:
- page:
+ uid:
type: number
- active:
+ description: A user identifier
+ timestamp:
+ type: number
+ deleted:
type: boolean
- qs:
+ upvotes:
+ type: number
+ downvotes:
+ type: number
+ votes:
+ type: number
+ timestampISO:
type: string
- currentPage:
- type: number
- pageCount:
- type: number
- prev:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- qs:
- type: string
- next:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- qs:
- type: string
- first:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- qs:
- type: string
- last:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- qs:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/followers:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
+ description: An ISO 8601 formatted date string (complementing `timestamp`)
+ user:
type: object
properties:
- name:
+ uid:
+ type: number
+ description: A user identifier
+ username:
type: string
- content:
+ description: A friendly name for a given user account
+ userslug:
type: string
- noEscape:
- type: boolean
- property:
+ description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
+ picture:
+ nullable: true
+ status:
type: string
- link:
- type: array
- items:
+ icon:text:
+ type: string
+ description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
+ icon:bgColor:
+ type: string
+ description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
+ example: "#f44336"
+ topic:
type: object
properties:
- rel:
+ uid:
+ type: number
+ description: A user identifier
+ tid:
+ type: number
+ description: A topic identifier
+ title:
type: string
- type:
+ cid:
+ type: number
+ description: A category identifier
+ slug:
type: string
- href:
+ deleted:
+ type: number
+ postcount:
+ type: number
+ mainPid:
+ type: number
+ description: The post id of the first post in this topic (also called the "original post")
+ titleRaw:
type: string
- title:
+ category:
+ type: object
+ properties:
+ cid:
+ type: number
+ description: A category identifier
+ name:
type: string
- sizes:
+ icon:
type: string
- widgets:
- type: object
- properties:
- footer:
+ slug:
+ type: string
+ parentCid:
+ type: number
+ description: The category identifier for the category that is the immediate ancestor of the current category
+ bgColor:
+ type: string
+ color:
+ type: string
+ image:
+ nullable: true
+ imageClass:
+ nullable: true
+ isMainPost:
+ type: boolean
+ nextStart:
+ type: number
+ noItemsFoundKey:
+ type: string
+ title:
+ type: string
+ showSort:
+ type: boolean
+ sortOptions:
type: array
items:
type: object
properties:
- html:
+ url:
type: string
- "/api/user/{userslug}/categories":
+ name:
+ type: string
+ selected:
+ type: boolean
+ template:
+ type: object
+ properties:
+ name:
+ type: string
+ account/best:
+ type: boolean
+ - $ref: '#/components/schemas/Pagination'
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/groups":
get:
tags:
- users
- summary: /api/user/{userslug}/categories
+ summary: /api/user/{userslug}/groups
parameters:
- name: userslug
in: path
@@ -14865,351 +13590,26 @@ paths:
content:
application/json:
schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- type: string
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- type: string
- fbid:
- nullable: true
- gplusid:
- nullable: true
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- hasPrivateChat:
- type: number
- showHidden:
- type: boolean
- groups:
- 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: number
- hidden:
- type: number
- system:
- type: number
- private:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- icon:
- type: string
- labelColor:
- 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
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- categories:
- type: array
- items:
- type: object
- properties:
- cid:
- type: number
- description: A category identifier
- name:
- type: string
- level:
- type: string
- icon:
- type: string
- parentCid:
- type: number
- description: The category identifier for the category that is the immediate ancestor of the current category
- color:
- type: string
- bgColor:
- type: string
- descriptionParsed:
- type: string
- depth:
- type: number
- slug:
- type: string
- isIgnored:
- type: boolean
- isWatched:
- type: boolean
- isNotWatched:
- type: boolean
- imageClass:
- type: string
- title:
- type: string
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
properties:
- name:
+ title:
type: string
- account/categories:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
+ template:
type: object
properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
- "/api/user/{userslug}/posts":
+ name:
+ type: string
+ account/groups:
+ type: boolean
+ "304":
+ description: ""
+ "/api/user/{userslug}/bookmarks":
get:
tags:
- users
- summary: /api/user/{userslug}/posts
+ summary: /api/user/{userslug}/bookmarks
parameters:
- name: userslug
in: path
@@ -15222,338 +13622,250 @@ paths:
content:
application/json:
schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- type: string
- fbid:
- nullable: true
- gplusid:
- nullable: true
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
+ allOf:
+ - $ref: '#/components/schemas/UserObject'
+ - type: object
+ properties:
+ age:
+ type: number
+ emailClass:
+ type: string
+ ips:
+ type: array
+ items:
type: string
- visibility:
+ moderationNote:
+ type: string
+ isBlocked:
+ type: boolean
+ blocksCount:
+ type: number
+ yourid:
+ type: number
+ theirid:
+ type: number
+ isTargetAdmin:
+ type: boolean
+ isAdmin:
+ type: boolean
+ isGlobalModerator:
+ type: boolean
+ isModerator:
+ type: boolean
+ isAdminOrGlobalModerator:
+ type: boolean
+ isAdminOrGlobalModeratorOrModerator:
+ type: boolean
+ isSelfOrAdminOrGlobalModerator:
+ type: boolean
+ canEdit:
+ type: boolean
+ canBan:
+ type: boolean
+ canChangePassword:
+ type: boolean
+ isSelf:
+ type: boolean
+ isFollowing:
+ type: boolean
+ showHidden:
+ type: boolean
+ groups:
+ type: array
+ items: {}
+ disableSignatures:
+ type: boolean
+ reputation:disabled:
+ type: boolean
+ downvote:disabled:
+ type: boolean
+ profile_links:
+ type: array
+ items:
type: object
properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
+ id:
+ type: string
+ route:
+ type: string
+ name:
+ type: string
+ visibility:
+ type: object
+ properties:
+ self:
+ type: boolean
+ other:
+ type: boolean
+ moderator:
+ type: boolean
+ globalMod:
+ type: boolean
+ admin:
+ type: boolean
+ canViewInfo:
+ type: boolean
+ public:
type: boolean
- canViewInfo:
+ icon:
+ type: string
+ sso:
+ type: array
+ items:
+ type: object
+ properties:
+ associated:
type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- posts:
- type: array
- items: {}
- nextStart:
- type: number
- pagination:
- type: object
- properties:
- prev:
+ url:
+ type: string
+ name:
+ type: string
+ icon:
+ type: string
+ websiteLink:
+ type: string
+ websiteName:
+ type: string
+ username:disableEdit:
+ type: number
+ email:disableEdit:
+ type: number
+ posts:
+ type: array
+ items: {}
+ nextStart:
+ type: number
+ pagination:
type: object
properties:
- page:
+ prev:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ next:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ first:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ last:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ rel:
+ type: array
+ items: {}
+ pages:
+ type: array
+ items: {}
+ currentPage:
type: number
- active:
- type: boolean
- next:
- type: object
- properties:
- page:
+ pageCount:
type: number
- active:
- type: boolean
- first:
+ noItemsFoundKey:
+ type: string
+ title:
+ type: string
+ breadcrumbs:
+ type: array
+ items:
+ type: object
+ properties:
+ text:
+ type: string
+ url:
+ type: string
+ showSort:
+ type: boolean
+ sortOptions:
+ type: array
+ items:
+ type: object
+ properties:
+ url:
+ type: string
+ name:
+ type: string
+ selected:
+ type: boolean
+ loggedIn:
+ type: boolean
+ relative_path:
+ type: string
+ template:
type: object
properties:
- page:
- type: number
- active:
+ name:
+ type: string
+ account/bookmarks:
type: boolean
- last:
+ url:
+ type: string
+ bodyClass:
+ type: string
+ _header:
type: object
properties:
- page:
- type: number
- active:
- type: boolean
- rel:
- type: array
- items: {}
- pages:
- type: array
- items: {}
- currentPage:
- type: number
- pageCount:
- type: number
- noItemsFoundKey:
- type: string
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- showSort:
- type: boolean
- sortOptions:
- type: array
- items:
- type: object
- properties:
- url:
- type: string
- name:
- type: string
- selected:
- type: boolean
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/posts:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
+ tags:
+ type: object
+ properties:
+ meta:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ content:
+ type: string
+ noEscape:
+ type: boolean
+ property:
+ type: string
+ link:
+ type: array
+ items:
+ type: object
+ properties:
+ rel:
+ type: string
+ type:
+ type: string
+ href:
+ type: string
+ title:
+ type: string
+ sizes:
+ type: string
+ widgets:
type: object
properties:
- meta:
+ footer:
type: array
items:
type: object
properties:
- name:
- type: string
- content:
+ html:
type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
- "/api/user/{userslug}/topics":
+ "/api/user/{userslug}/watched":
get:
tags:
- users
- summary: /api/user/{userslug}/topics
+ summary: /api/user/{userslug}/watched
parameters:
- name: userslug
in: path
@@ -15566,294 +13878,249 @@ paths:
content:
application/json:
schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- nullable: true
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- nullable: true
- fbid:
- nullable: true
- gplusid:
- nullable: true
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items: {}
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- topics:
- type: array
- items:
- type: object
- properties:
- tid:
- type: number
- description: A topic identifier
- uid:
- type: number
- description: A user identifier
- cid:
- type: number
- description: A category identifier
- title:
- type: string
- slug:
- type: string
- timestamp:
- type: number
- lastposttime:
- type: number
- postcount:
- type: number
- viewcount:
- type: number
- thumb:
- type: string
- mainPid:
- type: number
- description: The post id of the first post in this topic (also called the "original post")
- teaserPid:
- type: number
- upvotes:
- type: number
- downvotes:
- type: number
- deleted:
- type: number
- locked:
- type: number
- pinned:
- type: number
- description: Whether or not this particular topic is pinned to the top of the category
- titleRaw:
- type: string
- timestampISO:
- type: string
- description: An ISO 8601 formatted date string (complementing `timestamp`)
- lastposttimeISO:
+ allOf:
+ - $ref: '#/components/schemas/UserObject'
+ - type: object
+ properties:
+ aboutmeParsed:
+ type: string
+ age:
+ type: number
+ emailClass:
+ type: string
+ ips:
+ type: array
+ items:
type: string
- votes:
- type: number
- category:
+ isBlocked:
+ type: boolean
+ blocksCount:
+ type: number
+ yourid:
+ type: number
+ theirid:
+ type: number
+ isTargetAdmin:
+ type: boolean
+ isAdmin:
+ type: boolean
+ isGlobalModerator:
+ type: boolean
+ isModerator:
+ type: boolean
+ isAdminOrGlobalModerator:
+ type: boolean
+ isAdminOrGlobalModeratorOrModerator:
+ type: boolean
+ isSelfOrAdminOrGlobalModerator:
+ type: boolean
+ canEdit:
+ type: boolean
+ canBan:
+ type: boolean
+ canChangePassword:
+ type: boolean
+ isSelf:
+ type: boolean
+ isFollowing:
+ type: boolean
+ hasPrivateChat:
+ type: number
+ showHidden:
+ type: boolean
+ groups:
+ type: array
+ items:
type: object
properties:
- cid:
- type: number
- description: A category identifier
name:
type: string
slug:
type: string
- icon:
- type: string
- image:
- nullable: true
- imageClass:
- nullable: true
- bgColor:
+ createtime:
+ type: number
+ userTitle:
type: string
- color:
+ description:
type: string
- disabled:
+ memberCount:
type: number
- user:
- type: object
- properties:
- uid:
+ deleted:
+ oneOf:
+ - type: string
+ - type: number
+ hidden:
type: number
- description: A user identifier
- username:
+ system:
+ type: number
+ private:
+ type: number
+ ownerUid:
+ type: number
+ icon:
type: string
- description: A friendly name for a given user account
- userslug:
+ labelColor:
type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- reputation:
+ userTitleEnabled:
type: number
- postcount:
+ disableJoinRequests:
type: number
- picture:
- nullable: true
- signature:
- type: string
- banned:
+ disableLeave:
type: number
- status:
+ nameEncoded:
type: string
- icon:text:
+ displayName:
type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
+ textColor:
type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- banned_until_readable:
+ createtimeISO:
type: string
- teaser:
- type: object
- properties:
- pid:
- type: number
- uid:
- type: number
+ cover:thumb:url:
+ type: string
+ cover:url:
+ type: string
+ cover:position:
+ type: string
+ disableSignatures:
+ type: boolean
+ reputation:disabled:
+ type: boolean
+ downvote:disabled:
+ type: boolean
+ profile_links:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ route:
+ type: string
+ name:
+ type: string
+ visibility:
+ type: object
+ properties:
+ self:
+ type: boolean
+ other:
+ type: boolean
+ moderator:
+ type: boolean
+ globalMod:
+ type: boolean
+ admin:
+ type: boolean
+ canViewInfo:
+ type: boolean
+ public:
+ type: boolean
+ icon:
+ type: string
+ sso:
+ type: array
+ items:
+ type: object
+ properties:
+ associated:
+ type: boolean
+ url:
+ type: string
+ deauthUrl:
+ type: string
+ name:
+ type: string
+ icon:
+ type: string
+ websiteLink:
+ type: string
+ websiteName:
+ type: string
+ moderationNote:
+ type: string
+ username:disableEdit:
+ type: boolean
+ email:disableEdit:
+ type: boolean
+ topics:
+ type: array
+ items:
+ type: object
+ properties:
+ tid:
+ type: number
+ description: A topic identifier
+ uid:
+ type: number
description: A user identifier
+ cid:
+ type: number
+ description: A category identifier
+ mainPid:
+ type: number
+ description: The post id of the first post in this topic (also called the "original post")
+ title:
+ type: string
+ slug:
+ type: string
timestamp:
type: number
- tid:
+ lastposttime:
type: number
- description: A topic identifier
- content:
+ postcount:
+ type: number
+ viewcount:
+ type: number
+ teaserPid:
+ oneOf:
+ - type: number
+ - type: string
+ upvotes:
+ type: number
+ downvotes:
+ type: number
+ deleted:
+ type: number
+ locked:
+ type: number
+ pinned:
+ type: number
+ description: Whether or not this particular topic is pinned to the top of the category
+ deleterUid:
+ type: number
+ titleRaw:
type: string
timestampISO:
type: string
description: An ISO 8601 formatted date string (complementing `timestamp`)
+ lastposttimeISO:
+ type: string
+ votes:
+ type: number
+ category:
+ type: object
+ properties:
+ cid:
+ type: number
+ description: A category identifier
+ name:
+ type: string
+ slug:
+ type: string
+ icon:
+ type: string
+ image:
+ nullable: true
+ type: string
+ imageClass:
+ nullable: true
+ type: string
+ bgColor:
+ type: string
+ color:
+ type: string
+ disabled:
+ type: number
user:
type: object
properties:
@@ -15866,9 +14133,19 @@ paths:
userslug:
type: string
description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
+ reputation:
+ type: number
+ postcount:
+ type: number
picture:
+ type: string
+ signature:
nullable: true
type: string
+ banned:
+ type: number
+ status:
+ type: string
icon:text:
type: string
description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
@@ -15876,4487 +14153,422 @@ paths:
type: string
description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
example: "#f44336"
- index:
- type: number
- tags:
- type: array
- items: {}
- isOwner:
- type: boolean
- ignored:
- type: boolean
- unread:
- type: boolean
- bookmark:
- nullable: true
- unreplied:
- type: boolean
- icons:
- type: array
- items: {}
- index:
- type: number
- nextStart:
- type: number
- pagination:
- type: object
- properties:
- prev:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- next:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- first:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- last:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- rel:
- type: array
- items: {}
- pages:
- type: array
- items: {}
- currentPage:
- type: number
- pageCount:
- type: number
- noItemsFoundKey:
- type: string
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- showSort:
- type: boolean
- sortOptions:
- type: array
- items:
- type: object
- properties:
- url:
- type: string
- name:
- type: string
- selected:
- type: boolean
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/topics:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
+ banned_until_readable:
+ type: string
+ fullname:
+ type: string
+ teaser:
type: object
properties:
- name:
- type: string
+ pid:
+ type: number
+ uid:
+ type: number
+ description: A user identifier
+ timestamp:
+ type: number
+ tid:
+ type: number
+ description: A topic identifier
content:
type: string
- noEscape:
- type: boolean
- property:
+ timestampISO:
type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
- "/api/user/{userslug}/best":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/best
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- nullable: true
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- nullable: true
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- nullable: true
- fbid:
- nullable: true
- gplusid:
- type: string
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- hasPrivateChat:
- type: number
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items: {}
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- deauthUrl:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- posts:
- type: array
- items:
- type: object
- properties:
- pid:
- type: number
- tid:
- type: number
- description: A topic identifier
- content:
- type: string
- uid:
- type: number
- description: A user identifier
- timestamp:
- type: number
- deleted:
- type: boolean
- upvotes:
- type: number
- downvotes:
- type: number
- votes:
- type: number
- timestampISO:
- type: string
- description: An ISO 8601 formatted date string (complementing `timestamp`)
- user:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- picture:
- nullable: true
- status:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- topic:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- tid:
- type: number
- description: A topic identifier
- title:
- type: string
- cid:
- type: number
- description: A category identifier
- slug:
- type: string
- deleted:
- type: number
- postcount:
- type: number
- mainPid:
- type: number
- description: The post id of the first post in this topic (also called the "original post")
- titleRaw:
- type: string
- category:
- type: object
- properties:
- cid:
- type: number
- description: A category identifier
- name:
- type: string
- icon:
- type: string
- slug:
- type: string
- parentCid:
- type: number
- description: The category identifier for the category that is the immediate ancestor of the current category
- bgColor:
- type: string
- color:
- type: string
- image:
- nullable: true
- imageClass:
- nullable: true
- isMainPost:
- type: boolean
- nextStart:
- type: number
- pagination:
- type: object
- properties:
- prev:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- next:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- first:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- last:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- rel:
- type: array
- items: {}
- pages:
- type: array
- items: {}
- currentPage:
- type: number
- pageCount:
- type: number
- noItemsFoundKey:
- type: string
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- showSort:
- type: boolean
- sortOptions:
- type: array
- items:
- type: object
- properties:
- url:
- type: string
- name:
- type: string
- selected:
- type: boolean
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/best:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
- "/api/user/{userslug}/groups":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/groups
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- type: string
- fbid:
- nullable: true
- gplusid:
- nullable: true
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/groups:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
- "304":
- description: ""
- "/api/user/{userslug}/bookmarks":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/bookmarks
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- type: string
- fbid:
- nullable: true
- gplusid:
- nullable: true
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- posts:
- type: array
- items: {}
- nextStart:
- type: number
- pagination:
- type: object
- properties:
- prev:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- next:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- first:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- last:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- rel:
- type: array
- items: {}
- pages:
- type: array
- items: {}
- currentPage:
- type: number
- pageCount:
- type: number
- noItemsFoundKey:
- type: string
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- showSort:
- type: boolean
- sortOptions:
- type: array
- items:
- type: object
- properties:
- url:
- type: string
- name:
- type: string
- selected:
- type: boolean
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/bookmarks:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
- "/api/user/{userslug}/watched":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/watched
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- type: string
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- type: string
- fbid:
- type: string
- gplusid:
- type: string
- githubid:
- type: string
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- aboutmeParsed:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- hasPrivateChat:
- type: number
- showHidden:
- type: boolean
- groups:
- 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:
- oneOf:
- - type: string
- - type: number
- hidden:
- type: number
- system:
- type: number
- private:
- type: number
- ownerUid:
- type: number
- icon:
- type: string
- labelColor:
- 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
- cover:url:
- type: string
- cover:position:
- type: string
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- deauthUrl:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- moderationNote:
- type: string
- username:disableEdit:
- type: boolean
- email:disableEdit:
- type: boolean
- topics:
- type: array
- items:
- type: object
- properties:
- tid:
- type: number
- description: A topic identifier
- uid:
- type: number
- description: A user identifier
- cid:
- type: number
- description: A category identifier
- mainPid:
- type: number
- description: The post id of the first post in this topic (also called the "original post")
- title:
- type: string
- slug:
- type: string
- timestamp:
- type: number
- lastposttime:
- type: number
- postcount:
- type: number
- viewcount:
- type: number
- teaserPid:
- oneOf:
- - type: number
- - type: string
- upvotes:
- type: number
- downvotes:
- type: number
- deleted:
- type: number
- locked:
- type: number
- pinned:
- type: number
- description: Whether or not this particular topic is pinned to the top of the category
- deleterUid:
- type: number
- titleRaw:
- type: string
- timestampISO:
- type: string
- description: An ISO 8601 formatted date string (complementing `timestamp`)
- lastposttimeISO:
- type: string
- votes:
- type: number
- category:
- type: object
- properties:
- cid:
- type: number
- description: A category identifier
- name:
- type: string
- slug:
- type: string
- icon:
- type: string
- image:
- nullable: true
- type: string
- imageClass:
- nullable: true
- type: string
- bgColor:
- type: string
- color:
- type: string
- disabled:
- type: number
- user:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- reputation:
- type: number
- postcount:
- type: number
- picture:
- type: string
- signature:
- nullable: true
- type: string
- banned:
- type: number
- status:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- banned_until_readable:
- type: string
- fullname:
- type: string
- teaser:
- type: object
- properties:
- pid:
- type: number
- uid:
- type: number
- description: A user identifier
- timestamp:
- type: number
- tid:
- type: number
- description: A topic identifier
- content:
- type: string
- timestampISO:
- type: string
- description: An ISO 8601 formatted date string (complementing `timestamp`)
- user:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- picture:
- nullable: true
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- index:
- type: number
- tags:
- type: array
- items:
- type: object
- properties:
- value:
- type: string
- valueEscaped:
- type: string
- color:
- type: string
- bgColor:
- type: string
- score:
- type: number
- isOwner:
- type: boolean
- ignored:
- type: boolean
- unread:
- type: boolean
- bookmark:
- nullable: true
- type: number
- unreplied:
- type: boolean
- icons:
- type: array
- items: {}
- index:
- type: number
- thumb:
- type: string
- isQuestion:
- type: number
- isSolved:
- type: number
- nextStart:
- type: number
- pagination:
- type: object
- properties:
- rel:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- href:
- type: string
- pages:
- type: array
- items:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- qs:
- type: string
- currentPage:
- type: number
- pageCount:
- type: number
- prev:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- qs:
- type: string
- next:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- qs:
- type: string
- first:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- qs:
- type: string
- last:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- qs:
- type: string
- noItemsFoundKey:
- type: string
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- showSort:
- type: boolean
- sortOptions:
- type: array
- items:
- type: object
- properties:
- url:
- type: string
- name:
- type: string
- selected:
- type: boolean
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/watched:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
- "/api/user/{userslug}/ignored":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/ignored
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- nullable: true
- fbid:
- nullable: true
- gplusid:
- type: string
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- hasPrivateChat:
- type: number
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- deauthUrl:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- topics:
- type: array
- items: {}
- nextStart:
- type: number
- pagination:
- type: object
- properties:
- prev:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- next:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- first:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- last:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- rel:
- type: array
- items: {}
- pages:
- type: array
- items: {}
- currentPage:
- type: number
- pageCount:
- type: number
- noItemsFoundKey:
- type: string
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- showSort:
- type: boolean
- sortOptions:
- type: array
- items:
- type: object
- properties:
- url:
- type: string
- name:
- type: string
- selected:
- type: boolean
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/ignored:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
- "/api/user/{userslug}/upvoted":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/upvoted
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses: {}
- "/api/user/{userslug}/downvoted":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/downvoted
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses: {}
- "/api/user/{userslug}/edit":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/edit
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- nullable: true
- fbid:
- type: string
- gplusid:
- nullable: true
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- deauthUrl:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- maximumSignatureLength:
- type: number
- maximumAboutMeLength:
- type: number
- maximumProfileImageSize:
- type: number
- allowProfilePicture:
- type: boolean
- allowCoverPicture:
- type: boolean
- allowProfileImageUploads:
- type: number
- allowedProfileImageExtensios:
- type: string
- allowMultipleBadges:
- type: boolean
- allowAccountDelete:
- type: boolean
- allowWebsite:
- type: boolean
- allowAboutMe:
- type: boolean
- allowSignature:
- type: boolean
- profileImageDimension:
- type: number
- defaultAvatar:
- type: string
- groupSelectSize:
- type: number
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- editButtons:
- type: array
- items: {}
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/edit:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
- "401":
- description: ""
- content:
- application/json:
- schema:
- title: not-authorized
- type: undefined
- "403":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- path:
- type: string
- loggedIn:
- type: boolean
- title:
- type: string
- "/api/user/{userslug}/edit/username":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/edit/username
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- nullable: true
- fbid:
- nullable: true
- gplusid:
- type: string
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- deauthUrl:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- hasPassword:
- type: boolean
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/edit/username:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
- "403":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- path:
- type: string
- loggedIn:
- type: boolean
- title:
- type: string
- "/api/user/{userslug}/edit/email":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/edit/email
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- nullable: true
- fbid:
- nullable: true
- gplusid:
- nullable: true
- githubid:
- type: string
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- hasPrivateChat:
- type: number
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- deauthUrl:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- hasPassword:
- type: boolean
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/edit/email:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
- "/api/user/{userslug}/edit/password":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/edit/password
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- nullable: true
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- nullable: true
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- nullable: true
- fbid:
- nullable: true
- gplusid:
- nullable: true
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- hasPassword:
- type: boolean
- minimumPasswordLength:
- type: number
- minimumPasswordStrength:
- type: number
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/edit/password:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
- "/api/user/{userslug}/info":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/info
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- type: string
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- type: number
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- type: string
- fbid:
- type: string
- gplusid:
- type: number
- githubid:
- type: string
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- aboutmeParsed:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- hasPrivateChat:
- type: number
- showHidden:
- type: boolean
- groups:
- 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:
- oneOf:
- - type: string
- - type: number
- hidden:
- type: number
- system:
- type: number
- private:
- type: number
- ownerUid:
- type: number
- icon:
- type: string
- labelColor:
- 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
- cover:url:
- type: string
- cover:position:
- type: string
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- deauthUrl:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- moderationNote:
- type: string
- username:disableEdit:
- type: boolean
- email:disableEdit:
- type: boolean
- history:
- type: object
- properties:
- flags:
- type: array
- items:
- type: object
- properties:
- pid:
- type: number
- timestamp:
- type: number
- timestampISO:
- type: string
- description: An ISO 8601 formatted date string (complementing `timestamp`)
- timestampReadable:
- type: string
- title:
- type: string
- titleRaw:
- type: string
- bans:
- type: array
- items: {}
- sessions:
- type: array
- items:
- type: object
- properties:
- ip:
- type: string
- uuid:
- type: string
- datetime:
- type: number
- platform:
- type: string
- browser:
- type: string
- version:
- type: string
- current:
- type: boolean
- datetimeISO:
- type: string
- usernames:
- type: array
- items:
- type: object
- properties:
- value:
- type: string
- timestamp:
- type: number
- timestampISO:
- type: string
- description: An ISO 8601 formatted date string (complementing `timestamp`)
- emails:
- type: array
- items:
- type: object
- properties:
- value:
- type: string
- timestamp:
- type: number
- timestampISO:
- type: string
- description: An ISO 8601 formatted date string (complementing `timestamp`)
- moderationNotes:
- type: array
- items: {}
- pagination:
- type: object
- properties:
- prev:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- next:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- first:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- last:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- rel:
- type: array
- items: {}
- pages:
- type: array
- items: {}
- currentPage:
- type: number
- pageCount:
- type: number
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/info:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
- "/api/user/{userslug}/settings":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/settings
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- type: string
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- type: string
- fbid:
- type: string
- gplusid:
- type: string
- githubid:
- type: string
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- aboutmeParsed:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- showHidden:
- type: boolean
- groups:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- slug:
- type: string
- createtime:
- type: number
- userTitle:
- type: string
- userTitleEnabled:
- type: number
- description:
- type: string
- memberCount:
- type: number
- hidden:
- type: number
- system:
- type: number
- private:
- type: number
- disableJoinRequests:
- type: number
- disableLeave:
- type: number
- icon:
- type: string
- labelColor:
- type: string
- textColor:
- type: string
- nameEncoded:
- type: string
- displayName:
- type: string
- createtimeISO:
- type: string
- cover:thumb:url:
- type: string
- cover:url:
- type: string
- cover:position:
- type: string
- deleted:
- oneOf:
- - type: string
- - type: number
- ownerUid:
- type: number
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- deauthUrl:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- moderationNote:
- type: string
- username:disableEdit:
- type: boolean
- email:disableEdit:
- type: boolean
- settings:
- type: object
- properties:
- showemail:
- type: boolean
- usePagination:
- type: boolean
- topicsPerPage:
- type: number
- postsPerPage:
- type: number
- notificationSounds:
- type: number
- topicPostSort:
- type: string
- openOutgoingLinksInNewTab:
- type: boolean
- dailyDigestFreq:
- type: string
- language:
- type: string
- showfullname:
- type: boolean
- followTopicsOnCreate:
- type: boolean
- followTopicsOnReply:
- type: boolean
- restrictChat:
- type: boolean
- topicSearchEnabled:
- type: boolean
- categoryTopicSort:
- type: string
- userLang:
- type: string
- groupTitle:
- nullable: true
- pushbullet:enabled:
- type: number
- pushbullet:target:
- type: string
- bootswatchSkin:
- type: string
- homePageRoute:
- type: string
- scrollToMyPost:
- type: boolean
- delayImageLoading:
- type: number
- notificationSound:
- type: string
- incomingChatSound:
- type: string
- outgoingChatSound:
- type: string
- notificationType_new-chat:
- type: string
- notificationType_new-reply:
- type: string
- sendChatNotifications:
- nullable: true
- sendPostNotifications:
- nullable: true
- notificationType_upvote:
- type: string
- notificationType_new-topic:
- type: string
- notificationType_follow:
- type: string
- notificationType_group-invite:
- type: string
- upvoteNotifFreq:
- type: string
- notificationType_mention:
- type: string
- acpLang:
- type: string
- notificationType_new-register:
- type: string
- notificationType_post-queue:
- type: string
- notificationType_new-post-flag:
- type: string
- notificationType_new-user-flag:
- type: string
- categoryWatchState:
- type: string
- notificationType_group-request-membership:
- type: string
- uid:
- type: number
- description: A user identifier
- languages:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- code:
- type: string
- dir:
- type: string
- selected:
- type: boolean
- acpLanguages:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- code:
- type: string
- dir:
- type: string
- selected:
- type: boolean
- notification-sound:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- sounds:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- value:
- type: string
- selected:
- type: boolean
- notificationSound:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- selected:
- type: boolean
- chat-incoming-sound:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- sounds:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- value:
- type: string
- selected:
- type: boolean
- incomingChatSound:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- selected:
- type: boolean
- chat-outgoing-sound:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- sounds:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- value:
- type: string
- selected:
- type: boolean
- outgoingChatSound:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- selected:
- type: boolean
- customSettings:
- type: array
- items: {}
- homePageRoutes:
- type: array
- items:
- type: object
- properties:
- route:
- type: string
- name:
- type: string
- selected:
- type: boolean
- notificationSettings:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- label:
- type: string
- none:
- type: boolean
- notification:
- type: boolean
- email:
- type: boolean
- notificationemail:
- type: boolean
- disableEmailSubscriptions:
- type: number
- dailyDigestFreqOptions:
- type: array
- items:
- type: object
- properties:
- value:
- type: string
- name:
- type: string
- selected:
- type: boolean
- bootswatchSkinOptions:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- value:
- type: string
- selected:
- type: boolean
- upvoteNotifFreq:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- selected:
- type: boolean
- categoryWatchState:
- type: object
- properties:
- watching:
- type: boolean
- disableCustomUserSkins:
- type: number
- allowUserHomePage:
- type: number
- hideFullname:
- type: number
- hideEmail:
- type: number
- inTopicSearchAvailable:
- type: boolean
- maxTopicsPerPage:
- type: number
- maxPostsPerPage:
- type: number
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/settings:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
+ description: An ISO 8601 formatted date string (complementing `timestamp`)
+ user:
+ type: object
+ properties:
+ uid:
+ type: number
+ description: A user identifier
+ username:
+ type: string
+ description: A friendly name for a given user account
+ userslug:
+ type: string
+ description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
+ picture:
+ nullable: true
+ type: string
+ icon:text:
+ type: string
+ description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
+ icon:bgColor:
+ type: string
+ description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
+ example: "#f44336"
+ index:
+ type: number
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ value:
+ type: string
+ valueEscaped:
+ type: string
+ color:
+ type: string
+ bgColor:
+ type: string
+ score:
+ type: number
+ isOwner:
+ type: boolean
+ ignored:
+ type: boolean
+ unread:
+ type: boolean
+ bookmark:
+ nullable: true
+ type: number
+ unreplied:
+ type: boolean
+ icons:
+ type: array
+ items: {}
+ index:
+ type: number
+ thumb:
+ type: string
+ isQuestion:
+ type: number
+ isSolved:
+ type: number
+ nextStart:
+ type: number
+ pagination:
type: object
properties:
- meta:
+ rel:
type: array
items:
type: object
properties:
- name:
+ rel:
type: string
- content:
+ href:
type: string
- noEscape:
+ pages:
+ type: array
+ items:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
type: boolean
- property:
+ qs:
type: string
- link:
+ currentPage:
+ type: number
+ pageCount:
+ type: number
+ prev:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ qs:
+ type: string
+ next:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ qs:
+ type: string
+ first:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ qs:
+ type: string
+ last:
+ type: object
+ properties:
+ page:
+ type: number
+ active:
+ type: boolean
+ qs:
+ type: string
+ noItemsFoundKey:
+ type: string
+ title:
+ type: string
+ breadcrumbs:
+ type: array
+ items:
+ type: object
+ properties:
+ text:
+ type: string
+ url:
+ type: string
+ showSort:
+ type: boolean
+ sortOptions:
+ type: array
+ items:
+ type: object
+ properties:
+ url:
+ type: string
+ name:
+ type: string
+ selected:
+ type: boolean
+ loggedIn:
+ type: boolean
+ relative_path:
+ type: string
+ template:
+ type: object
+ properties:
+ name:
+ type: string
+ account/watched:
+ type: boolean
+ url:
+ type: string
+ bodyClass:
+ type: string
+ _header:
+ type: object
+ properties:
+ tags:
+ type: object
+ properties:
+ meta:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ content:
+ type: string
+ noEscape:
+ type: boolean
+ property:
+ type: string
+ link:
+ type: array
+ items:
+ type: object
+ properties:
+ rel:
+ type: string
+ type:
+ type: string
+ href:
+ type: string
+ title:
+ type: string
+ sizes:
+ type: string
+ widgets:
+ type: object
+ properties:
+ footer:
type: array
items:
type: object
properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
+ html:
type: string
- widgets:
- type: object
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/ignored":
+ get:
+ tags:
+ - users
+ summary: /api/user/{userslug}/ignored
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
properties:
- footer:
+ topics:
+ type: array
+ items: {}
+ nextStart:
+ type: number
+ noItemsFoundKey:
+ type: string
+ title:
+ type: string
+ showSort:
+ type: boolean
+ sortOptions:
+ type: array
+ items:
+ type: object
+ properties:
+ url:
+ type: string
+ name:
+ type: string
+ selected:
+ type: boolean
+ template:
+ type: object
+ properties:
+ name:
+ type: string
+ account/ignored:
+ type: boolean
+ - $ref: '#/components/schemas/Pagination'
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/upvoted":
+ get:
+ tags:
+ - users
+ summary: /api/user/{userslug}/upvoted
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ responses: {}
+ "/api/user/{userslug}/downvoted":
+ get:
+ tags:
+ - users
+ summary: /api/user/{userslug}/downvoted
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ responses: {}
+ "/api/user/{userslug}/edit":
+ get:
+ tags:
+ - users
+ summary: /api/user/{userslug}/edit
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
+ properties:
+ maximumSignatureLength:
+ type: number
+ maximumAboutMeLength:
+ type: number
+ maximumProfileImageSize:
+ type: number
+ allowProfilePicture:
+ type: boolean
+ allowCoverPicture:
+ type: boolean
+ allowProfileImageUploads:
+ type: number
+ allowedProfileImageExtensios:
+ type: string
+ allowMultipleBadges:
+ type: boolean
+ allowAccountDelete:
+ type: boolean
+ allowWebsite:
+ type: boolean
+ allowAboutMe:
+ type: boolean
+ allowSignature:
+ type: boolean
+ profileImageDimension:
+ type: number
+ defaultAvatar:
+ type: string
+ groupSelectSize:
+ type: number
+ title:
+ type: string
+ editButtons:
type: array
- items:
- type: object
- properties:
- html:
- type: string
- "401":
- description: ""
- content:
- application/json:
- schema:
- title: not-authorized
- type: undefined
- "403":
+ items: {}
+ template:
+ type: object
+ properties:
+ name:
+ type: string
+ account/edit:
+ type: boolean
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/edit/username":
+ get:
+ tags:
+ - users
+ summary: /api/user/{userslug}/edit/username
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
description: ""
content:
application/json:
schema:
- type: object
- properties:
- path:
- type: string
- loggedIn:
- type: boolean
- title:
- type: string
- "/api/user/{userslug}/uploads":
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
+ properties:
+ hasPassword:
+ type: boolean
+ title:
+ type: string
+ template:
+ type: object
+ properties:
+ name:
+ type: string
+ account/edit/username:
+ type: boolean
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/edit/email":
get:
tags:
- users
- summary: /api/user/{userslug}/uploads
+ summary: /api/user/{userslug}/edit/email
parameters:
- name: userslug
in: path
@@ -20369,620 +14581,485 @@ paths:
content:
application/json:
schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- nullable: true
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- nullable: true
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- type: string
- fbid:
- nullable: true
- gplusid:
- nullable: true
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items:
- type: string
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- hasPrivateChat:
- type: number
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- uploads:
- type: array
- items: {}
- pagination:
- type: object
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
properties:
- prev:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- next:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- first:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- last:
+ hasPassword:
+ type: boolean
+ title:
+ type: string
+ template:
type: object
properties:
- page:
- type: number
- active:
+ name:
+ type: string
+ account/edit/email:
type: boolean
- rel:
- type: array
- items: {}
- pages:
- type: array
- items: {}
- currentPage:
- type: number
- pageCount:
- type: number
- privateUploads:
- type: boolean
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/edit/password":
+ get:
+ tags:
+ - users
+ summary: /api/user/{userslug}/edit/password
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
properties:
- name:
- type: string
- account/uploads:
+ hasPassword:
type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
+ minimumPasswordLength:
+ type: number
+ minimumPasswordStrength:
+ type: number
+ title:
+ type: string
+ template:
+ type: object
+ properties:
+ name:
+ type: string
+ account/edit/password:
+ type: boolean
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/info":
+ get:
+ tags:
+ - users
+ summary: /api/user/{userslug}/info
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
properties:
- tags:
+ history:
type: object
properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
+ flags:
type: array
items:
type: object
properties:
- rel:
- type: string
- type:
+ pid:
+ type: number
+ timestamp:
+ type: number
+ timestampISO:
type: string
- href:
+ description: An ISO 8601 formatted date string (complementing `timestamp`)
+ timestampReadable:
type: string
title:
type: string
- sizes:
+ titleRaw:
type: string
- widgets:
- type: object
+ bans:
+ type: array
+ items: {}
+ sessions:
+ type: array
+ items:
+ type: object
+ properties:
+ ip:
+ type: string
+ uuid:
+ type: string
+ datetime:
+ type: number
+ platform:
+ type: string
+ browser:
+ type: string
+ version:
+ type: string
+ current:
+ type: boolean
+ datetimeISO:
+ type: string
+ usernames:
+ type: array
+ items:
+ type: object
+ properties:
+ value:
+ type: string
+ timestamp:
+ type: number
+ timestampISO:
+ type: string
+ description: An ISO 8601 formatted date string (complementing `timestamp`)
+ emails:
+ type: array
+ items:
+ type: object
+ properties:
+ value:
+ type: string
+ timestamp:
+ type: number
+ timestampISO:
+ type: string
+ description: An ISO 8601 formatted date string (complementing `timestamp`)
+ moderationNotes:
+ type: array
+ items: {}
+ title:
+ type: string
+ template:
+ type: object
+ properties:
+ name:
+ type: string
+ account/info:
+ type: boolean
+ - $ref: '#/components/schemas/Pagination'
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/settings":
+ get:
+ tags:
+ - users
+ summary: /api/user/{userslug}/settings
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
properties:
- footer:
+ settings:
+ type: object
+ properties:
+ showemail:
+ type: boolean
+ usePagination:
+ type: boolean
+ topicsPerPage:
+ type: number
+ postsPerPage:
+ type: number
+ notificationSounds:
+ type: number
+ topicPostSort:
+ type: string
+ openOutgoingLinksInNewTab:
+ type: boolean
+ dailyDigestFreq:
+ type: string
+ language:
+ type: string
+ showfullname:
+ type: boolean
+ followTopicsOnCreate:
+ type: boolean
+ followTopicsOnReply:
+ type: boolean
+ restrictChat:
+ type: boolean
+ topicSearchEnabled:
+ type: boolean
+ categoryTopicSort:
+ type: string
+ userLang:
+ type: string
+ groupTitle:
+ nullable: true
+ pushbullet:enabled:
+ type: number
+ pushbullet:target:
+ type: string
+ bootswatchSkin:
+ type: string
+ homePageRoute:
+ type: string
+ scrollToMyPost:
+ type: boolean
+ delayImageLoading:
+ type: number
+ notificationSound:
+ type: string
+ incomingChatSound:
+ type: string
+ outgoingChatSound:
+ type: string
+ notificationType_new-chat:
+ type: string
+ notificationType_new-reply:
+ type: string
+ sendChatNotifications:
+ nullable: true
+ sendPostNotifications:
+ nullable: true
+ notificationType_upvote:
+ type: string
+ notificationType_new-topic:
+ type: string
+ notificationType_follow:
+ type: string
+ notificationType_group-invite:
+ type: string
+ upvoteNotifFreq:
+ type: string
+ notificationType_mention:
+ type: string
+ acpLang:
+ type: string
+ notificationType_new-register:
+ type: string
+ notificationType_post-queue:
+ type: string
+ notificationType_new-post-flag:
+ type: string
+ notificationType_new-user-flag:
+ type: string
+ categoryWatchState:
+ type: string
+ notificationType_group-request-membership:
+ type: string
+ uid:
+ type: number
+ description: A user identifier
+ languages:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ code:
+ type: string
+ dir:
+ type: string
+ selected:
+ type: boolean
+ acpLanguages:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ code:
+ type: string
+ dir:
+ type: string
+ selected:
+ type: boolean
+ notification-sound:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ sounds:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ value:
+ type: string
+ selected:
+ type: boolean
+ notificationSound:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ selected:
+ type: boolean
+ chat-incoming-sound:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ sounds:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ value:
+ type: string
+ selected:
+ type: boolean
+ incomingChatSound:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ selected:
+ type: boolean
+ chat-outgoing-sound:
type: array
items:
type: object
properties:
- html:
+ name:
type: string
- "/api/user/{userslug}/consent":
- get:
- tags:
- - users
- summary: /api/user/{userslug}/consent
- parameters:
- - name: userslug
- in: path
- required: true
- schema:
- type: string
- responses:
- "200":
- description: ""
- content:
- application/json:
- schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- nullable: true
- fbid:
- nullable: true
- gplusid:
- nullable: true
- githubid:
- type: string
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- hasPrivateChat:
- type: number
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
+ sounds:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ value:
+ type: string
+ selected:
+ type: boolean
+ outgoingChatSound:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ selected:
+ type: boolean
+ customSettings:
+ type: array
+ items: {}
+ homePageRoutes:
+ type: array
+ items:
type: object
properties:
- self:
+ route:
+ type: string
+ name:
+ type: string
+ selected:
type: boolean
- other:
+ notificationSettings:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ label:
+ type: string
+ none:
type: boolean
- moderator:
+ notification:
type: boolean
- globalMod:
+ email:
type: boolean
- admin:
+ notificationemail:
type: boolean
- canViewInfo:
+ disableEmailSubscriptions:
+ type: number
+ dailyDigestFreqOptions:
+ type: array
+ items:
+ type: object
+ properties:
+ value:
+ type: string
+ name:
+ type: string
+ selected:
type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- deauthUrl:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- gdpr_consent:
- type: boolean
- digest:
- type: object
- properties:
- frequency:
- type: string
- enabled:
- type: boolean
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/consent:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
+ bootswatchSkinOptions:
type: array
items:
type: object
properties:
- html:
+ name:
type: string
- "/api/user/{userslug}/blocks":
+ value:
+ type: string
+ selected:
+ type: boolean
+ upvoteNotifFreq:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ selected:
+ type: boolean
+ categoryWatchState:
+ type: object
+ properties:
+ watching:
+ type: boolean
+ disableCustomUserSkins:
+ type: number
+ allowUserHomePage:
+ type: number
+ hideFullname:
+ type: number
+ hideEmail:
+ type: number
+ inTopicSearchAvailable:
+ type: boolean
+ maxTopicsPerPage:
+ type: number
+ maxPostsPerPage:
+ type: number
+ title:
+ type: string
+ template:
+ type: object
+ properties:
+ name:
+ type: string
+ account/settings:
+ type: boolean
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/uploads":
get:
tags:
- users
- summary: /api/user/{userslug}/blocks
+ summary: /api/user/{userslug}/uploads
parameters:
- name: userslug
in: path
@@ -20995,319 +15072,104 @@ paths:
content:
application/json:
schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- nullable: true
- fbid:
- type: string
- gplusid:
- nullable: true
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- hasPrivateChat:
- type: number
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- deauthUrl:
- type: string
- name:
- type: string
- icon:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- users:
- type: array
- items: {}
- title:
- type: string
- pagination:
- type: object
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
properties:
- prev:
- type: object
- properties:
- page:
- type: number
- active:
- type: boolean
- next:
+ uploads:
+ type: array
+ items: {}
+ privateUploads:
+ type: boolean
+ title:
+ type: string
+ template:
type: object
properties:
- page:
- type: number
- active:
+ name:
+ type: string
+ account/uploads:
type: boolean
- first:
+ - $ref: '#/components/schemas/Pagination'
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/consent":
+ get:
+ tags:
+ - users
+ summary: /api/user/{userslug}/consent
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
+ properties:
+ gdpr_consent:
+ type: boolean
+ digest:
type: object
properties:
- page:
- type: number
- active:
+ frequency:
+ type: string
+ enabled:
type: boolean
- last:
+ title:
+ type: string
+ template:
type: object
properties:
- page:
- type: number
- active:
+ name:
+ type: string
+ account/consent:
type: boolean
- rel:
- type: array
- items: {}
- pages:
- type: array
- items: {}
- currentPage:
- type: number
- pageCount:
- type: number
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
- properties:
- name:
- type: string
- account/blocks:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/CommonProps'
+ "/api/user/{userslug}/blocks":
+ get:
+ tags:
+ - users
+ summary: /api/user/{userslug}/blocks
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - type: object
properties:
- tags:
+ users:
+ type: array
+ items: {}
+ title:
+ type: string
+ template:
type: object
properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
- type: array
- items:
- type: object
- properties:
- html:
- type: string
+ name:
+ type: string
+ account/blocks:
+ type: boolean
+ - $ref: '#/components/schemas/Pagination'
+ - $ref: '#/components/schemas/Breadcrumbs'
+ - $ref: '#/components/schemas/CommonProps'
"/api/user/{userslug}/sessions":
get:
tags:
@@ -21325,278 +15187,32 @@ paths:
content:
application/json:
schema:
- type: object
- properties:
- uid:
- type: number
- description: A user identifier
- username:
- type: string
- description: A friendly name for a given user account
- userslug:
- type: string
- description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
- email:
- type: string
- description: Email address associated with the user account
- email:confirmed:
- type: boolean
- joindate:
- type: number
- description: A UNIX timestamp representing the moment the user's account was created
- lastonline:
- type: number
- picture:
- type: string
- fullname:
- type: string
- location:
- type: string
- birthday:
- type: string
- website:
- type: string
- aboutme:
- nullable: true
- signature:
- type: string
- uploadedpicture:
- type: string
- profileviews:
- type: number
- reputation:
- type: number
- postcount:
- type: number
- topiccount:
- type: number
- lastposttime:
- type: number
- banned:
- type: boolean
- banned:expire:
- type: number
- status:
- type: string
- flags:
- nullable: true
- followerCount:
- type: number
- followingCount:
- type: number
- cover:url:
- type: string
- cover:position:
- type: string
- groupTitle:
- type: string
- fbid:
- nullable: true
- gplusid:
- type: string
- githubid:
- nullable: true
- twid:
- nullable: true
- groupTitleArray:
- type: array
- items: {}
- icon:text:
- type: string
- description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
- icon:bgColor:
- type: string
- description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon
- example: "#f44336"
- joindateISO:
- type: string
- lastonlineISO:
- type: string
- banned_until:
- type: number
- banned_until_readable:
- type: string
- age:
- type: number
- emailClass:
- type: string
- ips:
- type: array
- items:
- type: string
- moderationNote:
- type: string
- isBlocked:
- type: boolean
- blocksCount:
- type: number
- yourid:
- type: number
- theirid:
- type: number
- isTargetAdmin:
- type: boolean
- isAdmin:
- type: boolean
- isGlobalModerator:
- type: boolean
- isModerator:
- type: boolean
- isAdminOrGlobalModerator:
- type: boolean
- isAdminOrGlobalModeratorOrModerator:
- type: boolean
- isSelfOrAdminOrGlobalModerator:
- type: boolean
- canEdit:
- type: boolean
- canBan:
- type: boolean
- canChangePassword:
- type: boolean
- isSelf:
- type: boolean
- isFollowing:
- type: boolean
- hasPrivateChat:
- type: number
- showHidden:
- type: boolean
- groups:
- type: array
- items: {}
- disableSignatures:
- type: boolean
- reputation:disabled:
- type: boolean
- downvote:disabled:
- type: boolean
- profile_links:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- route:
- type: string
- name:
- type: string
- visibility:
- type: object
- properties:
- self:
- type: boolean
- other:
- type: boolean
- moderator:
- type: boolean
- globalMod:
- type: boolean
- admin:
- type: boolean
- canViewInfo:
- type: boolean
- public:
- type: boolean
- icon:
- type: string
- sso:
- type: array
- items:
- type: object
- properties:
- associated:
- type: boolean
- url:
- type: string
- name:
- type: string
- icon:
- type: string
- deauthUrl:
- type: string
- websiteLink:
- type: string
- websiteName:
- type: string
- username:disableEdit:
- type: number
- email:disableEdit:
- type: number
- sessions:
- type: array
- items: {}
- title:
- type: string
- breadcrumbs:
- type: array
- items:
- type: object
- properties:
- text:
- type: string
- url:
- type: string
- loggedIn:
- type: boolean
- relative_path:
- type: string
- template:
- type: object
+ allOf:
+ - $ref: '#/components/schemas/UserObjectFull'
+ - $ref: '#/components/schemas/CommonProps'
+ - type: object
properties:
- name:
+ sessions:
+ type: array
+ items: {}
+ title:
type: string
- account/sessions:
- type: boolean
- url:
- type: string
- bodyClass:
- type: string
- _header:
- type: object
- properties:
- tags:
- type: object
- properties:
- meta:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- content:
- type: string
- noEscape:
- type: boolean
- property:
- type: string
- link:
- type: array
- items:
- type: object
- properties:
- rel:
- type: string
- type:
- type: string
- href:
- type: string
- title:
- type: string
- sizes:
- type: string
- widgets:
- type: object
- properties:
- footer:
+ breadcrumbs:
type: array
items:
type: object
properties:
- html:
+ text:
type: string
+ url:
+ type: string
+ template:
+ type: object
+ properties:
+ name:
+ type: string
+ account/sessions:
+ type: boolean
"/api/user/{userslug}/session/{uuid}":
delete:
tags: