v51

latestSwagger 2.0Apache 2.0raw.githubusercontent.com2026-08-018357145.6 KB
Penalty

List my punishments

get/users/me/punishments

Response

OK

created_atstring

time when this punishment creates

dayinteger
division_idinteger
durationinteger
end_timestring

end_time of this punishment

floor_idinteger

punished because of this floor

idinteger
made_byinteger

admin user_id who made this punish

reasonstring

reason

start_timestring

start from end_time of previous punishment (punishment accumulation of different floors) if no previous punishment or previous punishment end time less than time.Now() (synced), set start time time.Now()

updated_atstring
user_idinteger

user punished