refactor(lists): add GetList api method
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package org.joinmastodon.android.api.requests.lists;
|
||||
|
||||
import org.joinmastodon.android.api.MastodonAPIRequest;
|
||||
import org.joinmastodon.android.model.FollowList;
|
||||
|
||||
public class GetList extends MastodonAPIRequest<FollowList> {
|
||||
public GetList(String id) {
|
||||
super(HttpMethod.GET, "/lists/" + id, FollowList.class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user