Newer
Older
NemophilaClient / app / src / main / java / com / example / nemophila / resources / FriendsRest.java
package com.example.nemophila.resources;

import retrofit2.Call;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.PUT;

public interface FriendsRest {

    @GET("accounts/{uid}/friends")
    Call<Void> getFriends(
    );

    @PUT("accounts/{uid}/friends/{fid}")
    Call<Void> putFriend();

    @DELETE("accounts/{uid}/friends/{fid}")
    Call<Void> deleteFriend();

    @GET("/accounts/{uid}/requesting")
    Call<Void> getRequesting();

    @PUT("accounts/{uid}/reqesting/{requesting_id}")
    Call<Void> putRequesting();

    @DELETE("accounts/{uid}/reqesting/{requesting_id}")
    Call<Void> deleteRequesting();

    @GET("accounts/{uid}/reqested")
    Call<Void> getRequested();

    @DELETE("accounts/{uid}/reqested/{reqested_id}")
    Call<Void> deleteRequested();
    
}