mirror of
https://github.com/bspeice/UNCCGameDay
synced 2025-01-09 15:30:06 -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/")
|
@POST("/rate/")
|
||||||
void rateLot(@Body ParkingRating p, Callback<ParkingLot> lot);
|
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