OBJECT
GameData
The game object contains collections of data such as NPCs, classes, abilities, items, maps, etc. Game data only changes when major game patches are released, so you should cache results for as long as possible and only update when new content is released for the game.
link GraphQL Schema definition
- type GameData {
- # The player and enemy abilities for the game.
- #
- # Arguments
- # limit: Optional. The number of abilities to retrieve per page.
- # If omitted, defaults to 100. The maximum allowed value is 100, and minimum
- # allowed value is 1.
- # page: Optional. The page of paginated data to retrieve. If
- # omitted, defaults to the first page.
- Int, : Int): GameAbilityPagination ( :
- # Obtain a single ability for the game.
- #
- # Arguments
- # id: Required. Specify a specific ability to retrieve by its id.
- Int): GameAbility ( :
- # Obtain a single class for the game.
- #
- # Arguments
- # id: Required. Specify a specific class to retrieve by its id.
- # faction_id: Optional. Specify which faction you are retrieving
- # the set of classes for. If the game has faction-specific classes, then the
- # correct slugs and names will be returned for that faction.
- # zone_id: Optional. Specify which zone you are retrieving the
- # set of classes for. The classes that existed at the time the zone was relevant
- # will be returned.
- Int, : Int, : Int): GameClass ( :
- # Obtain the supported classes for the game.
- #
- # Arguments
- # faction_id: Optional. Specify which faction you are retrieving
- # the set of classes for. If the game has faction-specific classes, then the
- # correct slugs and names will be returned for that faction.
- # zone_id: Optional. Specify which zone you are retrieving the
- # set of classes for. The classes that existed at the time the zone was relevant
- # will be returned.
- Int, : Int): [GameClass] ( :
- # Obtain all the factions that guilds and players can belong to.
- GameFaction] : [
- # Obtain a single item for the game.
- #
- # Arguments
- # id: Required. Specify a specific item to retrieve by its id.
- Int): GameItem ( :
- # Items for the game.
- #
- # Arguments
- # limit: Optional. The number of items to retrieve per page. If
- # omitted, defaults to 100. The maximum allowed value is 100, and minimum allowed
- # value is 1.
- # page: Optional. The page of paginated data to retrieve. If
- # omitted, defaults to the first page.
- Int, : Int): GameItemPagination ( :
- # Obtain a single map for the game.
- #
- # Arguments
- # id: Required. Specify a specific map to retrieve by its id.
- Int): GameMap ( :
- # Maps for the game.
- #
- # Arguments
- # limit: Optional. The number of maps to retrieve per page. If
- # omitted, defaults to 100. The maximum allowed value is 100, and minimum allowed
- # value is 1.
- # page: Optional. The page of paginated data to retrieve. If
- # omitted, defaults to the first page.
- Int, : Int): GameMapPagination ( :
- }