Add history page

This commit is contained in:
2025-04-11 21:20:02 +02:00
parent 4b891dd672
commit 2289b14b5a
16 changed files with 199 additions and 25 deletions
@@ -112,7 +112,7 @@ components:
required: true
schema:
type: string
enum: [ all, bans, mutes, kicks ]
enum: [ all, ban, mute, kick, warn ]
description: The type of history to retrieve
User:
name: user
@@ -154,7 +154,9 @@ components:
- reason
- type
- punishmentTime
- punishmentUserUuid
- expiryTime
- punishedBy
- punishedByUuid
properties:
username:
type: string
@@ -165,6 +167,7 @@ components:
reason:
type: string
description: The reason for the punishment
enum: [ ban, mute, kick, warn ]
type:
type: string
description: The type of punishment
@@ -176,10 +179,10 @@ components:
type: integer
format: int64
description: The time when the punishment expires
punishmentUser:
punishedBy:
type: string
description: The username of the punishment issuer
punishmentUserUuid:
punishedByUuid:
type: string
description: The UUID of the punishment issuer
removedBy:
@@ -6,7 +6,7 @@ getTeam:
description: Retrieve players who are part of the specified team
operationId: getTeamMembers
parameters:
- name: group
- name: team
in: path
required: true
description: The group name of the team