Battle.net · Example Payload

Battle Net Searchcards Example

GamesGamingBlizzardWorld Of WarcraftDiabloHearthstoneStarcraft

Battle Net Searchcards 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": "searchCards",
  "method": "GET",
  "path": "/hearthstone/cards",
  "summary": "Battle.net Search Hearthstone Cards",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "SearchCards200Example",
      "example": {
        "cards": [
          {
            "id": 52119,
            "collectible": 1,
            "slug": "52119-ragnaros-the-firelord",
            "classId": 12,
            "multiClassIds": [],
            "cardTypeId": 4,
            "cardSetId": 3,
            "rarityId": 5,
            "artistName": "Alex Horley Orlandelli",
            "health": 8,
            "attack": 8,
            "manaCost": 8,
            "name": "Ragnaros the Firelord",
            "text": "Can't attack. At the end of your turn, deal 8 damage to a random enemy.",
            "image": "https://d15f34w2p8l1cc.cloudfront.net/hearthstone/bf5f0b3ef6d61b6bec59a7a7a1d95b8f0d9d74d2.png",
            "flavorText": "He was summoned by the Dark Iron dwarves, but he's equal opportunity. He'll destroy everyone.",
            "cropImage": "https://d15f34w2p8l1cc.cloudfront.net/hearthstone/cropped/52119.jpg",
            "childIds": []
          }
        ],
        "cardCount": 1,
        "pageCount": 1,
        "page": 1
      }
    }
  ]
}