release 0.1 #30

Manually merged
noemi3 merged 150 commits from release/0.1 into master 2020-01-18 14:59:02 +00:00
1 changed files with 29 additions and 0 deletions
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);
}