Immediate change to Auction APIs for Commodities with 9.2.7
Lok’tar Ogar,
I wanted to make our developers aware of some major changes to the Auction API based on yesterday’s updates to the Auction House and commodities in-game. We originally intended to leave the auction data patterns untouched, as this essentially created the same view/experience that a player sees in game (all auctions for your connected-realm and all commodity auctions regionally). However, these changes exposed some downstream platform concerns, so we had to change the strategy for exposing commodity data.
Moving forward, non-commodity auction data will continue to be exposed for each connected-realm on the existing auction endpoints:
/wow/connected-realm/{id}/auctions
Consolidated regional commodity data now will be exposed on a new endpoint:
/wow/auctions/commodities
The commodities endpoint will report all regional auction data for the targeted namespace (e.g. dynamic-us) updating every hour (same cadence as the other auction data). This document is very large and we want to encourage efficient integrations, so the API cost to the client quota for this document has been increased to 25 (from 1). This is meant to dissuade unnecessary/superfluous traffic to the API.
One major callout: presently any calls using the if-modified-since request header ALSO incur the full cost of a request for commodities data. We understand this is not ideal, as consumers should be rewarded for using best-practices like this to avoid making unnecessary expensive calls. We have surfaced this issue with our platform team so hopefully this can be resolved sometime in the future.
We apologize for outages and impact to our developer community over the past few days due to these issues. We understand introducing these type of changes live without notice or conversation is not an ideal situation for you. Please let us know if you have concerns or problems and we will try to do our best to work through any issues.
FuenteThe formatting of the URL appears incorrect. You have underscores and a duplicated slash. At runtime, the URL should reflect something like this:
https://us.api.blizzard.com/data/wow/auctions/commodities?namespace=dynamic-us
We recommend sending the access_token via a request header rather than a query param, as this avoids tracking/logging of the access_token:
authorization: Bearer {token}
Fuente