Battle.net · Example Payload

Battle Net Getdeck Example

GamesGamingBlizzardWorld Of WarcraftDiabloHearthstoneStarcraft

Battle Net Getdeck Example is an example object payload from Battle.net, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "getDeck",
  "method": "GET",
  "path": "/hearthstone/deck",
  "summary": "Battle.net Get Hearthstone Deck",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "GetDeck200Example",
      "example": {
        "deckCode": "AAECAf0EAA8A",
        "version": 1,
        "format": "standard",
        "class": {
          "slug": "mage",
          "id": 3,
          "name": "Mage"
        },
        "cards": [
          {
            "id": 52119,
            "count": 1,
            "slug": "52119-ragnaros-the-firelord",
            "name": "Ragnaros the Firelord"
          }
        ],
        "cardCount": 30
      }
    }
  ]
}