You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"summary": "Get a single service by slug or UUID with current status, components, and recent incidents",
12923
+
"description": "When ``summary=true``, the inline ``components`` list is trimmed to groups + showcase leaves + currently-impacted leaves + ungrouped leaves, and a ``componentsSummary`` block is added with the trimmed counts. Powers SSR for vendors with hundreds of components (Snowflake, Cloudflare, DigitalOcean) without OOM-ing the renderer. Default false for full back-compat.",
12924
12924
"operationId": "getService",
12925
12925
"parameters": [
12926
12926
{
@@ -12930,6 +12930,16 @@
12930
12930
"schema": {
12931
12931
"type": "string"
12932
12932
}
12933
+
},
12934
+
{
12935
+
"name": "summary",
12936
+
"in": "query",
12937
+
"description": "Return a curated subset of components (groups + showcase + impacted + ungrouped) and a componentsSummary block; default false",
12938
+
"required": false,
12939
+
"schema": {
12940
+
"type": "boolean",
12941
+
"default": false
12942
+
}
12933
12943
}
12934
12944
],
12935
12945
"responses": {
@@ -13032,6 +13042,7 @@
13032
13042
"Status Data"
13033
13043
],
13034
13044
"summary": "List active components for a service with current status and inline uptime",
13045
+
"description": "When ``groupId`` is supplied, only direct children of that group are returned — used by the pSEO renderer to lazy-load the leaves under a group that summary mode trimmed. Without ``groupId`` the response includes every active component for the service.",
13035
13046
"operationId": "getComponents",
13036
13047
"parameters": [
13037
13048
{
@@ -13041,6 +13052,16 @@
13041
13052
"schema": {
13042
13053
"type": "string"
13043
13054
}
13055
+
},
13056
+
{
13057
+
"name": "groupId",
13058
+
"in": "query",
13059
+
"description": "Restrict result to direct children of this group component id",
13060
+
"required": false,
13061
+
"schema": {
13062
+
"type": "string",
13063
+
"format": "uuid"
13064
+
}
13044
13065
}
13045
13066
],
13046
13067
"responses": {
@@ -21894,6 +21915,35 @@
21894
21915
},
21895
21916
"description": "A single component position"
21896
21917
},
21918
+
"ComponentsSummaryDto": {
21919
+
"required": [
21920
+
"groupComponentCounts",
21921
+
"includedCount",
21922
+
"totalCount"
21923
+
],
21924
+
"type": "object",
21925
+
"properties": {
21926
+
"totalCount": {
21927
+
"type": "integer",
21928
+
"description": "Total active components for this service across all groups",
21929
+
"format": "int32"
21930
+
},
21931
+
"includedCount": {
21932
+
"type": "integer",
21933
+
"description": "Number of components actually returned in the inline ``components`` list",
21934
+
"format": "int32"
21935
+
},
21936
+
"groupComponentCounts": {
21937
+
"type": "object",
21938
+
"additionalProperties": {
21939
+
"type": "integer",
21940
+
"description": "Per-group active leaf count, keyed by group component id (UUID stringified). Empty when the service has no groups; lets the UI render \"show all N\" affordances without a second round trip",
21941
+
"format": "int32"
21942
+
},
21943
+
"description": "Per-group active leaf count, keyed by group component id (UUID stringified). Empty when the service has no groups; lets the UI render \"show all N\" affordances without a second round trip"
21944
+
}
21945
+
}
21946
+
},
21897
21947
"ComponentStatusDto": {
21898
21948
"required": [
21899
21949
"id",
@@ -22239,8 +22289,7 @@
22239
22289
"CreateEnvironmentRequest": {
22240
22290
"required": [
22241
22291
"name",
22242
-
"slug",
22243
-
"isDefault"
22292
+
"slug"
22244
22293
],
22245
22294
"type": "object",
22246
22295
"properties": {
@@ -22269,7 +22318,8 @@
22269
22318
},
22270
22319
"isDefault": {
22271
22320
"type": "boolean",
22272
-
"description": "Whether this is the default environment for new monitors"
22321
+
"description": "Whether this is the default environment for new monitors (default: false)",
22322
+
"nullable": true
22273
22323
}
22274
22324
}
22275
22325
},
@@ -22992,11 +23042,23 @@
22992
23042
"subscribedEvents": {
22993
23043
"minItems": 1,
22994
23044
"type": "array",
22995
-
"description": "Event types to deliver, e.g. monitor.created, incident.resolved",
23045
+
"description": "Event types to deliver",
22996
23046
"items": {
22997
23047
"minLength": 1,
22998
23048
"type": "string",
22999
-
"description": "Event types to deliver, e.g. monitor.created, incident.resolved"
0 commit comments