Fetch exact HTTP status-code counts over time
/apps/{id}/networkRequests/plots/endpointStatusCodesFetch exact HTTP status-code counts over time for a domain, path, or
endpoint selection. At least one of domain or path is required.
When domain is omitted, path matches across all domains.
from & to will default to a last seven days time range if not
supplied. status_codes lists all distinct HTTP status codes
observed. data_points contains per-bucket counts keyed by exact
status code (e.g., count_200, count_404), not by status class.
Authorization
bearerAuth User access token issued at sign-in. Sent as
Authorization: Bearer <access-token> unless cookies are used to send
tokens. The /auth/refresh and /auth/signout endpoints expect the
session's refresh token in the same header format instead.
In: header
Path Parameters
App's UUID.
uuidQuery Parameters
Exact domain or * wildcard pattern.
Exact path or a * or trailing ** pattern; matches across all domains when domain is omitted.
ISO 8601 UTC string in milliseconds precision. Example: 2023-11-01T18:30:00.000Z. Omitting both from and to returns the last seven days.
ISO 8601 UTC string in milliseconds precision. Example: 2023-11-01T18:30:00.000Z. Omitting both from and to returns the last seven days.
Conditions joined by AND or OR and grouped with parentheses,
each reading key:operator:values with the names
/apps/{id}/filters/keys publishes. AND binds tighter than OR.
version_name:in:[1.2.0,1.1.9] AND mapping_type:not_in:jsbundle(version_name:contains:SNAPSHOT AND mapping_type:in:proguard) OR patch_id:is_setAn operator taking no values ends its condition, as
patch_id:is_set does. Double-quote a value holding a space,
comma, bracket, colon or quote, with \" and \\ inside.
At most 4096 bytes, 32 conditions, 4 levels of nesting and 200 values in one condition.
IANA timezone used to bucket and format datetime values in the response. Example: Asia/Kolkata.
Time bucket used for plot aggregation. Defaults to days.
Value in
- "minutes"
- "hours"
- "days"
- "months"
Response Body
application/json
curl -X GET "https://example.com/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/networkRequests/plots/endpointStatusCodes?timezone=string"{ "status_codes": [ 200, 301, 404, 500 ], "data_points": [ { "datetime": "2024-01-15T14:30:00", "total_count": 1500, "count_200": 1470, "count_301": 15, "count_404": 10, "count_500": 5 }, { "datetime": "2024-01-15T15:00:00", "total_count": 1600, "count_200": 1568, "count_301": 20, "count_404": 8, "count_500": 4 } ]}Think this page can be better?
Open an issue