Refactor API structure and endpoints for history and team.

Updated API definitions and endpoints to better support punishment history and team queries. Introduced new parameters, schemas, and operations to improve functionality, and reorganized related controllers into appropriate packages.
This commit is contained in:
2025-04-10 22:46:30 +02:00
parent 2137459e9b
commit 1585011143
5 changed files with 201 additions and 77 deletions
@@ -0,0 +1,21 @@
package com.alttd.altitudeweb.controllers.history;
import com.alttd.altitudeweb.api.HistoryApi;
import org.springframework.http.ResponseEntity;
public class HistoryApiController implements HistoryApi {
@Override
public ResponseEntity<Void> getHistoryForUsers(String userType, String type, String user) throws Exception {
return null;
}
@Override
public ResponseEntity<Void> getHistoryForUuid(String userType, String type, String uuid) throws Exception {
return null;
}
@Override
public ResponseEntity<Void> getUserNames(String userType, String type) throws Exception {
return null;
}
}
@@ -1,4 +1,4 @@
package com.alttd.altitudeweb.controllers;
package com.alttd.altitudeweb.controllers.team;
import com.alttd.altitudeweb.api.TeamApi;
import com.alttd.altitudeweb.database.Connection;