feature_user #15

Manually merged
noemi3 merged 16 commits from feature_user into develop 2019-11-22 08:38:08 +00:00
Showing only changes of commit 955d5e3704 - Show all commits

View File

@ -0,0 +1,29 @@
package wekan.wrapper.api;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import wekan.wrapper.entity.User;
import java.util.List;
public interface UserService {
/**
* Get all users.
*
* @return the list with all users
*/
@GET("api/users")
Call<List<User>> getAllUser();
/**
* Get user information
*
* @param userId ID user
* @return user information
*/
@GET("api/users/{user}")
Call<User> getUser(@Path("user") String userId);
}