Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 44 additions & 1 deletion docs/openapi/monitoring-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -13803,7 +13803,7 @@
"Status Data"
],
"summary": "List active components for a service with current status and inline uptime",
"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.",
"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. Supports pagination via ``page``/``size`` and case-insensitive name search via ``search``.",
"operationId": "getComponents",
"parameters": [
{
Expand All @@ -13823,6 +13823,35 @@
"type": "string",
"format": "uuid"
}
},
{
"name": "search",
"in": "query",
"description": "Case-insensitive substring match on component name",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "page",
"in": "query",
"description": "Zero-based page index",
"required": false,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "size",
"in": "query",
"description": "Page size (default 25, max 100)",
"required": false,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
Expand Down Expand Up @@ -30128,6 +30157,13 @@
"type": "string"
}
},
"affectedRegions": {
"type": "array",
"nullable": true,
"items": {
"type": "string"
}
},
"updates": {
"type": "array",
"items": {
Expand Down Expand Up @@ -30203,6 +30239,13 @@
"type": "string",
"format": "date-time",
"nullable": true
},
"affectedRegions": {
"type": "array",
"nullable": true,
"items": {
"type": "string"
}
}
}
},
Expand Down
10 changes: 9 additions & 1 deletion src/lib/api.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1592,7 +1592,7 @@ export interface paths {
};
/**
* List active components for a service with current status and inline uptime
* @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.
* @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. Supports pagination via ``page``/``size`` and case-insensitive name search via ``search``.
*/
get: operations["getComponents"];
put?: never;
Expand Down Expand Up @@ -6079,6 +6079,7 @@ export interface components {
detectedAt?: string | null;
shortlink?: string | null;
affectedComponents?: string[] | null;
affectedRegions?: string[] | null;
updates: components["schemas"]["ServiceIncidentUpdateDto"][];
};
ServiceIncidentDto: {
Expand All @@ -6103,6 +6104,7 @@ export interface components {
detectedAt?: string | null;
/** Format: date-time */
vendorCreatedAt?: string | null;
affectedRegions?: string[] | null;
};
ServiceIncidentUpdateDto: {
status: string;
Expand Down Expand Up @@ -19055,6 +19057,12 @@ export interface operations {
query?: {
/** @description Restrict result to direct children of this group component id */
groupId?: string;
/** @description Case-insensitive substring match on component name */
search?: string;
/** @description Zero-based page index */
page?: number;
/** @description Page size (default 25, max 100) */
size?: number;
};
header?: never;
path: {
Expand Down