Skip to content

Documentation


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

Function: itemMedia() ​

itemMedia(namespace, itemId): object

Defined in: classic-wow/src/item/index.ts:54

Get item media by ID.

Parameters ​

namespace ​

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

The namespace to use. See StaticClassicNamespaces.

itemId ​

number

The item ID.

Returns ​

The item media. See ItemMediaResponse.

_responseType? ​

optional _responseType?: ItemMediaResponse

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.