diff --git a/app/src/main/java/org/ntlab/acanthus_client/resources/accounts/InvitedRest.java b/app/src/main/java/org/ntlab/acanthus_client/resources/accounts/InvitedRest.java index 7edc2bd..9ee5fa8 100644 --- a/app/src/main/java/org/ntlab/acanthus_client/resources/accounts/InvitedRest.java +++ b/app/src/main/java/org/ntlab/acanthus_client/resources/accounts/InvitedRest.java @@ -1,5 +1,7 @@ package org.ntlab.acanthus_client.resources.accounts; +import java.util.Collection; + import retrofit2.Call; import retrofit2.http.DELETE; import retrofit2.http.Field; @@ -20,6 +22,14 @@ //----------------------------------------------------------------- + @GET("accounts/{uid}/invited") + Call> getAccountInvited( + @Path("uid") Integer ownerUid, + @Query("token") Integer token + ); + + //----------------------------------------------------------------- + @FormUrlEncoded @PUT("accounts/{uid}/invited") Call addAccountInvited(