diff --git a/docs/openapi/monitoring-api.json b/docs/openapi/monitoring-api.json index a9b7d44..25cc822 100644 --- a/docs/openapi/monitoring-api.json +++ b/docs/openapi/monitoring-api.json @@ -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": [ { @@ -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": { @@ -30128,6 +30157,13 @@ "type": "string" } }, + "affectedRegions": { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + }, "updates": { "type": "array", "items": { @@ -30203,6 +30239,13 @@ "type": "string", "format": "date-time", "nullable": true + }, + "affectedRegions": { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } } } }, diff --git a/internal/generated/types.go b/internal/generated/types.go index 9aa1541..b11ca5e 100644 --- a/internal/generated/types.go +++ b/internal/generated/types.go @@ -6419,6 +6419,7 @@ type ServiceDetailDto struct { // ServiceIncidentDetailDto defines model for ServiceIncidentDetailDto. type ServiceIncidentDetailDto struct { AffectedComponents *[]string `json:"affectedComponents,omitempty"` + AffectedRegions *[]string `json:"affectedRegions,omitempty"` DetectedAt *time.Time `json:"detectedAt,omitempty"` Id openapi_types.UUID `json:"id"` Impact *string `json:"impact,omitempty"` @@ -6432,6 +6433,7 @@ type ServiceIncidentDetailDto struct { // ServiceIncidentDto defines model for ServiceIncidentDto. type ServiceIncidentDto struct { + AffectedRegions *[]string `json:"affectedRegions,omitempty"` DetectedAt *time.Time `json:"detectedAt,omitempty"` ExternalId *string `json:"externalId,omitempty"` Id openapi_types.UUID `json:"id"` @@ -8500,6 +8502,15 @@ type GetServiceParams struct { type GetComponentsParams struct { // GroupId Restrict result to direct children of this group component id GroupId *openapi_types.UUID `form:"groupId,omitempty" json:"groupId,omitempty"` + + // Search Case-insensitive substring match on component name + Search *string `form:"search,omitempty" json:"search,omitempty"` + + // Page Zero-based page index + Page *int32 `form:"page,omitempty" json:"page,omitempty"` + + // Size Page size (default 25, max 100) + Size *int32 `form:"size,omitempty" json:"size,omitempty"` } // GetBatchComponentUptimeParams defines parameters for GetBatchComponentUptime.