DeploymentApiTrafficDto
A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.
The whole deployment's API traffic over a window: request totals per operation and per status class.
Values
Fields
| Field | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
fromUtc
required |
string (date-time) | The start of the window actually read, UTC, at the start of a day.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||
toUtcExclusive
required |
string (date-time) | The end of the window actually read, UTC, exclusive, at the start of a day.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||
totalRequestCount
required |
integer (int64) | Requests recorded across the deployment in the window. Equal to the sum of
`statusClasses`, and to the sum of `merchantKeyRequestCount`,
`resellerKeyRequestCount` and `adminKeyRequestCount`. Requests made
without an API key are never included.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||
merchantKeyRequestCount
required |
integer (int64) | Requests made with a merchant's API key: the key names the merchant it acts for.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||
resellerKeyRequestCount
required |
integer (int64) | Requests made with a reseller's own API key, which names no merchant, for example to create
merchants or provision hosted payment pages across them. Counted from the release that added
this field; a window that starts before the deployment took that release undercounts it.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||
adminKeyRequestCount
required |
integer (int64) | Requests made with an administrator's API key, which names no merchant and no reseller. Counted
from the release that added this field; a window that starts before the deployment took that
release undercounts it.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||
operations
required |
array of DeploymentApiOperationTrafficDto array of DeploymentApiOperationTrafficDto | Requests per operation, most requests first. An operation is the HTTP method and route template,
for example `GET /api/app/transaction/{id}`. Requests that matched no route are counted
under `__unknown`.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||
Fields of each DeploymentApiOperationTrafficDto: This body has no documented fields. | |||||||||||
statusClasses
required |
array of DeploymentApiStatusClassTrafficDto array of DeploymentApiStatusClassTrafficDto | Requests per response status class (`2xx`, `4xx` and so on), most requests first. A
response with a status outside 100 to 599 is counted under `__unknown`.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||
Fields of each DeploymentApiStatusClassTrafficDto:
This body has no documented fields. | |||||||||||
resellerCount
required |
integer (int32) | How many resellers' traffic was summed: their merchants' keys and their own keys.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||
isTruncated
required |
boolean | Whether the read stopped short of the request. It is `true` when the window was longer than
the most the read covers, so `fromUtc` moved later than the request asked for, or
when the deployment has more resellers than one read sums, so some resellers' traffic is
missing. Treat the totals as a lower bound when this is `true`.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||
This model has no documented fields.