Lists consumers and API clients that produced no traffic
Changed onConsumer identities and the API client keys they own, with their creation date, last request and status, for the given environment and period. A null lastUsedAt means no request inside the retained traffic log, NOT necessarily never used - read coverage.dataAvailableFrom before acting on it.
Request
- Base URLhttp://167.86.118.166:32080
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Project name
Query parameters
Environment name whose traffic log is read.
Range start, ISO-8601 or Elasticsearch date math (for example now-30d).
Range end, ISO-8601 or Elasticsearch date math (for example now).
Consumer organization codes; repeat the parameter to pass more than one.
Consumer status filter: ALL, ENABLED or DISABLED.
Whether API client (key) rows are included. Default true.
Restricts the answer to one row kind: CONSUMER or API_CLIENT.
Lowest request count a row may have. Default 0.
Highest request count a row may have.
Zero-based page index.
Rows per page.
field[,asc|desc] over lastUsedAt, createdAt, consumer, apiClientKey, status, identityType, total.
Response
successful operation!
Example response
{
"items": [
{
"identityType": "API_CLIENT",
"status": "ACTIVE"
}
],
"coverage": {
"warning": "apinizerManagerApp.inactiveClients.coverageWarning"
}
}Changes
- info
endpoint added
- info