diff --git a/public/openapi/components/schemas/UserObject.yaml b/public/openapi/components/schemas/UserObject.yaml index 73d9ab64c0..ecb52d75fb 100644 --- a/public/openapi/components/schemas/UserObject.yaml +++ b/public/openapi/components/schemas/UserObject.yaml @@ -331,6 +331,17 @@ UserObjectFull: example: - administrators - Staff + muted: + type: boolean + description: Whether or not the user has been muted. + mutedUntil: + type: number + description: A UNIX timestamp representing the moment a muted state will be lifted. + nullable: true + mutedReason: + type: string + description: The admin-provided reason for being muted. + nullable: true '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 @@ -357,6 +368,8 @@ UserObjectFull: type: string age: type: number + emailHidden: + type: boolean emailClass: type: string ips: @@ -424,6 +437,8 @@ UserObjectFull: type: boolean canBan: type: boolean + canMute: + type: boolean canFlag: type: boolean canChangePassword: diff --git a/public/openapi/read/topic/topic_id.yaml b/public/openapi/read/topic/topic_id.yaml index 4712710ccf..ea163e05b4 100644 --- a/public/openapi/read/topic/topic_id.yaml +++ b/public/openapi/read/topic/topic_id.yaml @@ -132,6 +132,7 @@ get: mutedUntil: type: number description: A UNIX timestamp representing the moment a muted state will be lifted. + nullable: true icon:text: type: string description: A single-letter representation of a username. This is used in the