#3 - Dec. 14, 2011, 6:45 p.m.
12/14/2011 10:38 AMPosted by
Fuitad Does this mean that the backend code of all web applications must be open sourced or are we talking about the html/javascript here?
The short answer is yes. The long answer is no, what you should do is extract the code that engages the API into a client library that satisfies the requirements of the policy.
12/14/2011 10:38 AMPosted by
Fuitad Is there a way to know how much requests we've made at any given time? I'm still trying to understand if AH dumps downloads are considering a request or not, given that they are static files. Additionally, do you count requests that make good usage of "If-Modified-Since"?
We currently don't expose an API resource that tells you an application's current point allocation. We'd like to, but haven't yet.
The "cost" of requests is fairly simple. Each API request costs 1 to 5 points, depending on how heavy the operation is and load. Requests that use cache headers cost less and those that use cache headers that result in a cache-hit cost only 1 point. Requests for static files, like for the auction house dumps, have a cost of 0 because from our point of view they are not part of the API.