Skip to content

Documentation


Documentation / @blizzard-api/classic-wow / achievementMedia

Function: achievementMedia() ​

achievementMedia(namespace, achievementId): object

Defined in: classic-wow/src/achievements/index.ts:79

Get achievement media by ID.

Supported by all Classic namespaces: classic1x, classicann, and classic.

Parameters ​

namespace ​

"static-classic1x" | "static-classic" | "static-classicann"

The namespace to use. See StaticClassicNamespaces.

achievementId ​

number

The achievement ID.

Returns ​

The achievement media. See AchievementMediaResponse.

_responseType? ​

optional _responseType?: AchievementMediaResponse

Internal

The response type of the resource

namespace? ​

optional namespace?: BlizzardNamespaces

parameters? ​

optional parameters?: Record<string, unknown>

path ​

path: string

The request path. Dynamic path segments should be encoded with encodeURIComponent.