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

category_id

path

integer

yes

The achievement category’s game ID.

Response 200 — The achievement category and its achievements.

Model: AchievementCategorySchema

Field

Type

Required

Description

id

integer

yes

name

string

yes

achievements

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

achievement_id

path

integer

yes

The achievement’s game ID.

Response 200 — The achievement.

Model: AchievementSchema

Field

Type

Required

Description

id

integer

yes

name

string

yes

description

string

yes

points

integer

yes

icon_url

string | null

no

category

string | null

no

reward_description

string | null

no

criteria

AchievementCriterion

yes