PWPedia

Index | Alliance | Api | Basic Guides | City | Community Info | Faq | Improvements | Misc | Nation | National Projects | Resource | Units | War



API Related FAQ


 

 

What are the headers for API v3?

  • X-RateLimit-Reset-After - The number of seconds until the rate limit resets.
  • X-RateLimit-Limit - The maximum number of requests per rate limit period.
  • X-RateLimit-Remaining - The remaining number of requests before the rate limit is reached. If this reaches zero you should wait the number of seconds in X-RateLimit-Reset-After before attempting another request.
  • X-RateLimit-Reset - The unix timestamp at which point the rate limit resets.
  • X-RateLimit-Interval - The length of the rate limit period in seconds.

 

What are the headers for the mutation apis?

  • X-Api-Key - The API key intended to be used for the mutation
  • X-Bot-Key - The Mutation key to validate mutation request