Skip to content
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.

Commit

Permalink
Merge pull request #19 from xhsun/bug/wrong_endpoint
Browse files Browse the repository at this point in the history
Thanks to #17
  • Loading branch information
xhsun authored Jun 30, 2017
2 parents cdc5f9f + 2af0f0c commit 89a6730
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/me/xhsun/guildwars2wrapper/GuildWars2API.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,28 +140,28 @@ interface GuildWars2API {
Call<List<Wallet>> getWallet(@Query("access_token") String token);

//achievement
@GET("/v2/achievement")
@GET("/v2/achievements")
Call<List<Integer>> getAllAchievementIDs();

@GET("/v2/achievement")
@GET("/v2/achievements")
Call<List<Achievement>> getAchievementInfo(@Query("ids") String ids);

@GET("/v2/achievement/categories")
@GET("/v2/achievements/categories")
Call<List<Integer>> getAllAchievementCategoryIDs();

@GET("/v2/achievement/categories")
@GET("/v2/achievements/categories")
Call<List<AchievementCategory>> getAchievementCategoryInfo(@Query("ids") String ids);

@GET("/v2/achievement/daily")
@GET("/v2/achievements/daily")
Call<DailyAchievement> getCurrentDailyAchievements();

@GET("/v2/achievement/daily/tomorrow")
@GET("/v2/achievements/daily/tomorrow")
Call<DailyAchievement> getNextDailyAchievements();

@GET("/v2/achievement/groups")
@GET("/v2/achievements/groups")
Call<List<String>> getAllAchievementGroupIDs();

@GET("/v2/achievement/groups")
@GET("/v2/achievements/groups")
Call<List<AchievementGroup>> getAchievementGroupInfo(@Query("ids") String ids);

//back story
Expand Down

0 comments on commit 89a6730

Please sign in to comment.