Skip to content

Commit

Permalink
add fetch my followers/favorite tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
vpaliy committed Aug 27, 2017
1 parent 51cebc9 commit 697d13a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public interface Endpoints {
String ME_DEVICES = "me/devices";
String ME_FAVORITE_TRACK = "me/favorites/{id}";
String ME_FOLLOW = "me/followings/{id}";
String ME_FAVORITE_TRACKS = "me/favorites";
String ME_FOLLOWERS = "me/followings";

String SUGGESTED_USERS = "users/suggested";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ public interface SoundCloudService {
@GET(Endpoints.ME_ACTIVITIES)
Single<List<ConnectionEntity>> fetchMyConnections();

@GET(Endpoints.ME_FOLLOWERS)
Single<List<UserEntity>> fetchMyFollowings();

@GET(Endpoints.ME_FAVORITE_TRACKS)
Single<List<TrackEntity>> fetchMyFavoriteTracks();

@GET(Endpoints.ME_CONNECTION)
Single<ConnectionEntity> fetchMyConnection(@Path("id") String connectionId);

Expand Down

0 comments on commit 697d13a

Please # to comment.