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:
+21
@@ -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
-1
@@ -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;
|
||||
Reference in New Issue
Block a user