description:"TODO: A proper response needs to be added. It is not really a teapot | This route is identical to /api/admin/general/dashboard. When the routes are split into separate files, replace this definition with a $ref to that route"
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
@ -1146,7 +1138,7 @@ paths:
get:
get:
tags:
tags:
- admin
- admin
summary:/api/admin/manage/users/not-validated
summary:Get non-verified users
responses:
responses:
"418":
"418":
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
@ -1154,7 +1146,7 @@ paths:
get:
get:
tags:
tags:
- admin
- admin
summary:/api/admin/manage/users/no-posts
summary:Get users with no posts
responses:
responses:
"418":
"418":
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
@ -1162,7 +1154,7 @@ paths:
get:
get:
tags:
tags:
- admin
- admin
summary:/api/admin/manage/users/top-posters
summary:Get users with the most posts
responses:
responses:
"418":
"418":
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
@ -1170,7 +1162,7 @@ paths:
get:
get:
tags:
tags:
- admin
- admin
summary:/api/admin/manage/users/most-reputation
summary:Get users with the most reputation
responses:
responses:
"418":
"418":
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
@ -1178,7 +1170,7 @@ paths:
get:
get:
tags:
tags:
- admin
- admin
summary:/api/admin/manage/users/inactive
summary:Get inactive users
responses:
responses:
"418":
"418":
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
@ -1186,7 +1178,7 @@ paths:
get:
get:
tags:
tags:
- admin
- admin
summary:/api/admin/manage/users/flagged
summary:Get flagged users
responses:
responses:
"418":
"418":
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
@ -1194,7 +1186,7 @@ paths:
get:
get:
tags:
tags:
- admin
- admin
summary:/api/admin/manage/users/banned
summary:Get banned users
responses:
responses:
"418":
"418":
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
description:"TODO: A proper response needs to be added. It is not really a teapot | Replace this responses block with the block from /manage/users/latest"
@ -1350,7 +1342,7 @@ paths:
get:
get:
tags:
tags:
- admin
- admin
summary:/api/admin/manage/groups
summary:Get user groups
responses:
responses:
"200":
"200":
description:""
description:""
@ -1443,7 +1435,7 @@ paths:
get:
get:
tags:
tags:
- admin
- admin
summary:/api/admin/manage/groups/{name}
summary:Get user group details
parameters:
parameters:
- name:name
- name:name
in:path
in:path
@ -1638,7 +1630,7 @@ paths:
get:
get:
tags:
tags:
- admin
- admin
summary:/api/admin/extend/plugins
summary:Get system plugin settings
responses:
responses:
"200":
"200":
description:""
description:""
@ -1790,7 +1782,7 @@ paths:
get:
get:
tags:
tags:
- admin
- admin
summary:/api/admin/extend/widgets
summary:Get widget settings
responses:
responses:
"200":
"200":
description:""
description:""
@ -2164,7 +2156,7 @@ paths:
get:
get:
tags:
tags:
- admin
- admin
summary:/api/admin/advanced/cache
summary:Get system cache info
responses:
responses:
"200":
"200":
description:""
description:""
@ -2256,7 +2248,7 @@ paths:
get:
get:
tags:
tags:
- admin
- admin
summary:/api/admin/development/logger
summary:Get system logger settings
responses:
responses:
"200":
"200":
description:""
description:""
@ -2895,18 +2887,123 @@ paths:
type:boolean
type:boolean
enableQuickReply:
enableQuickReply:
type:boolean
type:boolean
/api/me:
/api/users:
get:
get:
tags:
tags:
- shorthand
- users
summary:/api/me
summary:Get users
parameters:
- in:query
name:section
schema:
type:string
required:false
description:Allows filtering of the user list via pre-defined sections
description:This shorthand is useful if you want to link to pages in your own account profile, but do not want (or have) the userslug. It is also especially useful as a means to instruct users on how to do things, as you can easily redirect them to their own profile pages.
- name:category_id
in:path
required:true
schema:
type:string
example:1
- name:slug
in:path
required:true
schema:
type:string
example:test
responses:
responses:
"418":
"200":
description:"TODO: A proper response needs to be added. It is not really a teapot | Copy response from indexed variant"
This shorthand is useful if you want to link to pages in your own account profile, but do not want (or have) the `userslug`. It is also especially useful as a
This shorthand is useful if you want to link to pages in your own account profile, but do not want (or have) the `userslug`. It is also especially useful as a
means to instruct users on how to do things, as you can easily redirect them to their own profile pages.
means to instruct users on how to do things, as you can easily redirect them to their own profile pages.
@ -6179,7 +6268,8 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/categories
summary:Get user's watched categories
description:This route retrieves the list of categories and their watch states
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -6413,7 +6503,7 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/bookmarks
summary:Get user's bookmarks
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -6459,7 +6549,7 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/watched
summary:Get user's watched topics
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -6667,7 +6757,7 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/ignored
summary:Get user's ignored topics
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -6715,7 +6805,7 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/upvoted
summary:Get user's upvoted posts
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -6767,7 +6857,7 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:Get user's downvotes
summary:Get user's downvoted posts
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -6819,7 +6909,7 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/edit
summary:Get user profile for editing
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -6886,7 +6976,7 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/edit/username
summary:Get configs for username editing
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -6914,7 +7004,7 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/edit/email
summary:Get configs for email editing
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -6942,7 +7032,7 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/edit/password
summary:Get configs for password editing
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -6974,7 +7064,8 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/info
summary:Get user moderation info
description:Administrators and Global Moderators get access to the `/info` page, which shows some backend data that is useful from a moderation point-of-view (such as IP addresses, recent bans, moderation history, etc).
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -7155,7 +7246,7 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/settings
summary:Get user's settings
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -7489,7 +7580,7 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/uploads
summary:Get user's uploads
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -7527,7 +7618,7 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/consent
summary:Get user's GDPR consent settings
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -7562,7 +7653,7 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/blocks
summary:Get user's blocks
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -7593,7 +7684,7 @@ paths:
get:
get:
tags:
tags:
- users
- users
summary:/api/user/{userslug}/sessions
summary:Get user's active sessions
parameters:
parameters:
- name:userslug
- name:userslug
in:path
in:path
@ -7661,7 +7752,7 @@ paths:
get:
get:
tags:
tags:
- notifications
- notifications
summary:/api/notifications
summary:Get notifications
responses:
responses:
"200":
"200":
description:""
description:""
@ -8086,7 +8177,8 @@ paths:
get:
get:
tags:
tags:
- shorthand
- shorthand
summary:/api/chats/{roomid}
summary:Access a chat room
description:Redirects a request to the proper chat page URL
parameters:
parameters:
- name:roomid
- name:roomid
in:path
in:path
@ -8102,114 +8194,11 @@ paths:
schema:
schema:
type:string
type:string
description:A relative path to the canonical URL for that chat page
description:A relative path to the canonical URL for that chat page
/api/users:
get:
tags:
- users
summary:/api/users
responses:
"200":
description:""
content:
application/json:
schema:
allOf:
- type:object
properties:
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