For each request to ContentOnTarget, the system increases an internal request counter. This counter can be requested using the RequestCounter API. It provides the counter information per month:
There are two interfaces available. The first interface supports to list all request counters for all months in a chronological descending order. The second interface provides the request counter for a specific month.
/api/2.2/[user]/[apiHash_User]/requestcounters/
Depending on the request type, different operations are supported:
/api/2.2/[user]/[apiHash_User]/requestcounters/[monthYear]
Following operations are supported:
The RequestCounter API can be used by every user using the user credentials. In addition, it is possible for an administrator to request the requestCounters without requiring specific user credentials. However, the administrator has to identify himself with administrator specific credentials using BASIC AUTHENTICATION.
The API endpoint for the admin interface is:
/api/2.2/requestcounters/