Achievements#
GET /api/achievements/categories#
List achievement categories
Returns every root achievement category with its subcategories, for browsing to its achievements. Answers 503 if Battle.net is not configured or did not answer.
Response 200 — Every root achievement category and its children.
Model: array of AchievementCategoryTree
Type: array of AchievementCategoryTree
GET /api/achievements/categories/{category_id}#
Get an achievement category
Returns one achievement category and the achievements in it, each with its points. Answers 404 if Battle.net has no such category, 503 if Battle.net is not configured or did not answer.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
integer |
yes |
The achievement category’s game ID. |
Response 200 — The achievement category and its achievements.
Model: AchievementCategorySchema
Field |
Type |
Required |
Description |
|---|---|---|---|
|
integer |
yes |
|
|
string |
yes |
|
|
array of AchievementSummary |
yes |
GET /api/achievements/{achievement_id}#
Get an achievement
Returns one achievement by its game ID: its description, points, icon, category, reward text and its criteria tree. Answers 404 if Battle.net has no such achievement, 503 if Battle.net is not configured or did not answer.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
integer |
yes |
The achievement’s game ID. |
Response 200 — The achievement.
Model: AchievementSchema
Field |
Type |
Required |
Description |
|---|---|---|---|
|
integer |
yes |
|
|
string |
yes |
|
|
string |
yes |
|
|
integer |
yes |
|
|
string | null |
no |
|
|
string | null |
no |
|
|
string | null |
no |
|
|
yes |