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"
@ -1146,7 +1138,7 @@ paths:
get:
tags:
- admin
summary:/api/admin/manage/users/not-validated
summary:Get non-verified users
responses:
"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"
@ -1154,7 +1146,7 @@ paths:
get:
tags:
- admin
summary:/api/admin/manage/users/no-posts
summary:Get users with no posts
responses:
"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"
@ -1162,7 +1154,7 @@ paths:
get:
tags:
- admin
summary:/api/admin/manage/users/top-posters
summary:Get users with the most posts
responses:
"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"
@ -1170,7 +1162,7 @@ paths:
get:
tags:
- admin
summary:/api/admin/manage/users/most-reputation
summary:Get users with the most reputation
responses:
"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"
@ -1178,7 +1170,7 @@ paths:
get:
tags:
- admin
summary:/api/admin/manage/users/inactive
summary:Get inactive users
responses:
"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"
@ -1186,7 +1178,7 @@ paths:
get:
tags:
- admin
summary:/api/admin/manage/users/flagged
summary:Get flagged users
responses:
"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"
@ -1194,7 +1186,7 @@ paths:
get:
tags:
- admin
summary:/api/admin/manage/users/banned
summary:Get banned users
responses:
"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"
@ -1350,7 +1342,7 @@ paths:
get:
tags:
- admin
summary:/api/admin/manage/groups
summary:Get user groups
responses:
"200":
description:""
@ -1443,7 +1435,7 @@ paths:
get:
tags:
- admin
summary:/api/admin/manage/groups/{name}
summary:Get user group details
parameters:
- name:name
in:path
@ -1638,7 +1630,7 @@ paths:
get:
tags:
- admin
summary:/api/admin/extend/plugins
summary:Get system plugin settings
responses:
"200":
description:""
@ -1790,7 +1782,7 @@ paths:
get:
tags:
- admin
summary:/api/admin/extend/widgets
summary:Get widget settings
responses:
"200":
description:""
@ -2164,7 +2156,7 @@ paths:
get:
tags:
- admin
summary:/api/admin/advanced/cache
summary:Get system cache info
responses:
"200":
description:""
@ -2256,7 +2248,7 @@ paths:
get:
tags:
- admin
summary:/api/admin/development/logger
summary:Get system logger settings
responses:
"200":
description:""
@ -2895,18 +2887,123 @@ paths:
type:boolean
enableQuickReply:
type:boolean
/api/me:
/api/users:
get:
tags:
- shorthand
summary:/api/me
- users
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.
responses:
"418":
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
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:
tags:
- 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:
- name:userslug
in:path
@ -6413,7 +6503,7 @@ paths:
get:
tags:
- users
summary:/api/user/{userslug}/bookmarks
summary:Get user's bookmarks
parameters:
- name:userslug
in:path
@ -6459,7 +6549,7 @@ paths:
get:
tags:
- users
summary:/api/user/{userslug}/watched
summary:Get user's watched topics
parameters:
- name:userslug
in:path
@ -6667,7 +6757,7 @@ paths:
get:
tags:
- users
summary:/api/user/{userslug}/ignored
summary:Get user's ignored topics
parameters:
- name:userslug
in:path
@ -6715,7 +6805,7 @@ paths:
get:
tags:
- users
summary:/api/user/{userslug}/upvoted
summary:Get user's upvoted posts
parameters:
- name:userslug
in:path
@ -6767,7 +6857,7 @@ paths:
get:
tags:
- users
summary:Get user's downvotes
summary:Get user's downvoted posts
parameters:
- name:userslug
in:path
@ -6819,7 +6909,7 @@ paths:
get:
tags:
- users
summary:/api/user/{userslug}/edit
summary:Get user profile for editing
parameters:
- name:userslug
in:path
@ -6886,7 +6976,7 @@ paths:
get:
tags:
- users
summary:/api/user/{userslug}/edit/username
summary:Get configs for username editing
parameters:
- name:userslug
in:path
@ -6914,7 +7004,7 @@ paths:
get:
tags:
- users
summary:/api/user/{userslug}/edit/email
summary:Get configs for email editing
parameters:
- name:userslug
in:path
@ -6942,7 +7032,7 @@ paths:
get:
tags:
- users
summary:/api/user/{userslug}/edit/password
summary:Get configs for password editing
parameters:
- name:userslug
in:path
@ -6974,7 +7064,8 @@ paths:
get:
tags:
- 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:
- name:userslug
in:path
@ -7155,7 +7246,7 @@ paths:
get:
tags:
- users
summary:/api/user/{userslug}/settings
summary:Get user's settings
parameters:
- name:userslug
in:path
@ -7489,7 +7580,7 @@ paths:
get:
tags:
- users
summary:/api/user/{userslug}/uploads
summary:Get user's uploads
parameters:
- name:userslug
in:path
@ -7527,7 +7618,7 @@ paths:
get:
tags:
- users
summary:/api/user/{userslug}/consent
summary:Get user's GDPR consent settings
parameters:
- name:userslug
in:path
@ -7562,7 +7653,7 @@ paths:
get:
tags:
- users
summary:/api/user/{userslug}/blocks
summary:Get user's blocks
parameters:
- name:userslug
in:path
@ -7593,7 +7684,7 @@ paths:
get:
tags:
- users
summary:/api/user/{userslug}/sessions
summary:Get user's active sessions
parameters:
- name:userslug
in:path
@ -7661,7 +7752,7 @@ paths:
get:
tags:
- notifications
summary:/api/notifications
summary:Get notifications
responses:
"200":
description:""
@ -8086,7 +8177,8 @@ paths:
get:
tags:
- shorthand
summary:/api/chats/{roomid}
summary:Access a chat room
description:Redirects a request to the proper chat page URL
parameters:
- name:roomid
in:path
@ -8102,114 +8194,11 @@ paths:
schema:
type:string
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