Aggregate integration renderer crashes
Returns count + distinct-user + last-seen buckets grouped by a chosen dimension (archive, content type, error name, kind, build hash, or time) for crashes within an integration the caller can read, or with owner_scope.team across every integration that team owns (the caller needs the upl writer role or above in the team, else NotFound; a system integration the team owns is included only for upl:admin). Distinct users are counted per bucket, so with a team a person who crashed two integrations counts once in a time bucket.
Authorization
OAuth2 upl:privateOAuth 2.0 authorization
In: header
Scope: upl:private
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
As on ListIntegrationRendererCrashesRequest: required unless owner_scope names a team, and a narrowing filter when it does.
uuidenum.defined_only = true
"RENDERER_CRASH_AGGREGATE_GROUP_BY_UNSPECIFIED" | "RENDERER_CRASH_AGGREGATE_GROUP_BY_INTEGRATION" | "RENDERER_CRASH_AGGREGATE_GROUP_BY_ARCHIVE" | "RENDERER_CRASH_AGGREGATE_GROUP_BY_CONTENT_TYPE" | "RENDERER_CRASH_AGGREGATE_GROUP_BY_ERROR_NAME" | "RENDERER_CRASH_AGGREGATE_GROUP_BY_KIND" | "RENDERER_CRASH_AGGREGATE_GROUP_BY_BUILD_HASH" | "RENDERER_CRASH_AGGREGATE_GROUP_BY_TIME"Aggregates over every integration a team owns, as on ListIntegrationRendererCrashesRequest.owner_scope.
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.IntegrationAdminService/AggregateIntegrationRendererCrashes" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"buckets": [
{
"key": "string",
"count": "string",
"distinctUsers": "string",
"lastSeenAt": "2023-01-15T01:30:15.01Z"
}
]
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}