Skip to content

Documentation


Documentation / @blizzard-api/hs / fetchOneCardBack

Function: fetchOneCardBack() ​

fetchOneCardBack(id, locale?): object

Defined in: hs/src/card-backs/index.ts:24

Returns a single card back based on the ID provided.

Parameters ​

id ​

string | number

The card back ID

locale? ​

Locales

The locale to use for fetching the card back (optional).

Returns ​

The card back resource. See SingleCardBackSearchResponse.

_responseType? ​

optional _responseType?: SingleCardBackSearchResponse

Internal

The response type of the resource

namespace? ​

optional namespace?: BlizzardNamespaces

parameters? ​

optional parameters?: object

parameters.locale? ​

optional locale?: Locales

path ​

path: string

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