mirror of
https://github.com/bspeice/UNCCGameDay
synced 2024-11-05 07:38:13 -05:00
GamedayService now knows about the new REST methods
This commit is contained in:
parent
b62cd865e9
commit
d21e269579
@ -15,5 +15,14 @@ public interface GamedayService {
|
||||
|
||||
@POST("/rate/")
|
||||
void rateLot(@Body ParkingRating p, Callback<ParkingLot> lot);
|
||||
|
||||
@GET("/register/{id}/")
|
||||
Attendee getUser(@Query("id") int id);
|
||||
|
||||
@GET("/register/")
|
||||
List<Attendee> getAllUsers();
|
||||
|
||||
@POST("/register/")
|
||||
void registerUser(@Body Attendee a, Callback<Attendee> attendee);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user