- API Reference
- Box API
- Selling platform
Show a customer when the data quota of the proxy they rent was reset and how much was used before
Returns paged quota reset records (automatic and manual) of the proxy. A non-integer page or limit makes the box answer HTTP 500.
GET
/selling/quota_reset_history_by_tokenQuery parameters
tokenstringrequiredsecret
API token of one sold proxy (api_token in /selling/shared_proxies). Give it only to the customer who rents that proxy; anyone with the link can use it.
pageintegeroptional
Default
1Example 1limitintegeroptional
Default
20Example 20Authentication
Authenticated only by the sold proxy's API token; the dashboard login and "Basic auth for all API" do not apply.
Responses
Reset records or refusal.
Unexpected error.
statusbooleanoptional
messagestringoptional
datastringoptional
Errors returned in msg
| msg | Meaning | What to do |
|---|---|---|
This function is available on Selling Platform license only. Please contact Administrator! | The license does not include the Selling Platform. | Upgrade the license. |
Token is required | token is missing. | Send the token. |
API Token invalid | Token unknown or reset (in message). | Ask the seller for the current link; tokens change when reset. |
An error occurred while processing the request | Unexpected error (HTTP 500). | Retry; contact the seller. |