Skip to content

Commit 72c9669

Browse files
committed
Changes from node scripts/capture_oas_snapshot --include-path /api/status --include-path /api/alerting/rule/ --include-path /api/alerting/rules --include-path /api/actions --include-path /api/security/role --include-path /api/spaces --include-path /api/streams --include-path /api/fleet --include-path /api/saved_objects/_import --include-path /api/saved_objects/_export --include-path /api/maintenance_window --include-path /api/agent_builder --update
1 parent 7e07779 commit 72c9669

File tree

2 files changed

+314
-0
lines changed

2 files changed

+314
-0
lines changed

oas_docs/bundle.json

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25832,6 +25832,163 @@
2583225832
"x-state": "Technical Preview; added in 9.2.0"
2583325833
}
2583425834
},
25835+
"/api/fleet/cloud_connectors/{cloudConnectorId}/usage": {
25836+
"get": {
25837+
"description": "[Required authorization] Route required privileges: fleet-agent-policies-read OR integrations-read.",
25838+
"operationId": "get-fleet-cloud-connectors-cloudconnectorid-usage",
25839+
"parameters": [
25840+
{
25841+
"description": "The unique identifier of the cloud connector.",
25842+
"in": "path",
25843+
"name": "cloudConnectorId",
25844+
"required": true,
25845+
"schema": {
25846+
"type": "string"
25847+
}
25848+
},
25849+
{
25850+
"description": "The page number for pagination.",
25851+
"in": "query",
25852+
"name": "page",
25853+
"required": false,
25854+
"schema": {
25855+
"minimum": 1,
25856+
"type": "number"
25857+
}
25858+
},
25859+
{
25860+
"description": "The number of items per page.",
25861+
"in": "query",
25862+
"name": "perPage",
25863+
"required": false,
25864+
"schema": {
25865+
"minimum": 1,
25866+
"type": "number"
25867+
}
25868+
}
25869+
],
25870+
"responses": {
25871+
"200": {
25872+
"content": {
25873+
"application/json": {
25874+
"schema": {
25875+
"additionalProperties": false,
25876+
"properties": {
25877+
"items": {
25878+
"items": {
25879+
"additionalProperties": false,
25880+
"properties": {
25881+
"created_at": {
25882+
"type": "string"
25883+
},
25884+
"id": {
25885+
"type": "string"
25886+
},
25887+
"name": {
25888+
"type": "string"
25889+
},
25890+
"package": {
25891+
"additionalProperties": false,
25892+
"properties": {
25893+
"name": {
25894+
"type": "string"
25895+
},
25896+
"title": {
25897+
"type": "string"
25898+
},
25899+
"version": {
25900+
"type": "string"
25901+
}
25902+
},
25903+
"required": [
25904+
"name",
25905+
"title",
25906+
"version"
25907+
],
25908+
"type": "object"
25909+
},
25910+
"policy_ids": {
25911+
"items": {
25912+
"type": "string"
25913+
},
25914+
"type": "array"
25915+
},
25916+
"updated_at": {
25917+
"type": "string"
25918+
}
25919+
},
25920+
"required": [
25921+
"id",
25922+
"name",
25923+
"policy_ids",
25924+
"created_at",
25925+
"updated_at"
25926+
],
25927+
"type": "object"
25928+
},
25929+
"type": "array"
25930+
},
25931+
"page": {
25932+
"type": "number"
25933+
},
25934+
"perPage": {
25935+
"type": "number"
25936+
},
25937+
"total": {
25938+
"type": "number"
25939+
}
25940+
},
25941+
"required": [
25942+
"items",
25943+
"total",
25944+
"page",
25945+
"perPage"
25946+
],
25947+
"type": "object"
25948+
}
25949+
}
25950+
},
25951+
"description": "OK: A successful request."
25952+
},
25953+
"400": {
25954+
"content": {
25955+
"application/json": {
25956+
"schema": {
25957+
"additionalProperties": false,
25958+
"description": "Generic Error",
25959+
"properties": {
25960+
"attributes": {},
25961+
"error": {
25962+
"type": "string"
25963+
},
25964+
"errorType": {
25965+
"type": "string"
25966+
},
25967+
"message": {
25968+
"type": "string"
25969+
},
25970+
"statusCode": {
25971+
"type": "number"
25972+
}
25973+
},
25974+
"required": [
25975+
"message",
25976+
"attributes"
25977+
],
25978+
"type": "object"
25979+
}
25980+
}
25981+
},
25982+
"description": "A bad request."
25983+
}
25984+
},
25985+
"summary": "Get cloud connector usage (package policies using the connector)",
25986+
"tags": [
25987+
"Fleet cloud connectors"
25988+
],
25989+
"x-state": "Technical Preview; added in 9.2.0"
25990+
}
25991+
},
2583525992
"/api/fleet/data_streams": {
2583625993
"get": {
2583725994
"description": "[Required authorization] Route required privileges: fleet-agents-all AND fleet-agent-policies-all AND fleet-settings-all.",

oas_docs/bundle.serverless.json

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25832,6 +25832,163 @@
2583225832
"x-state": "Technical Preview"
2583325833
}
2583425834
},
25835+
"/api/fleet/cloud_connectors/{cloudConnectorId}/usage": {
25836+
"get": {
25837+
"description": "[Required authorization] Route required privileges: fleet-agent-policies-read OR integrations-read.",
25838+
"operationId": "get-fleet-cloud-connectors-cloudconnectorid-usage",
25839+
"parameters": [
25840+
{
25841+
"description": "The unique identifier of the cloud connector.",
25842+
"in": "path",
25843+
"name": "cloudConnectorId",
25844+
"required": true,
25845+
"schema": {
25846+
"type": "string"
25847+
}
25848+
},
25849+
{
25850+
"description": "The page number for pagination.",
25851+
"in": "query",
25852+
"name": "page",
25853+
"required": false,
25854+
"schema": {
25855+
"minimum": 1,
25856+
"type": "number"
25857+
}
25858+
},
25859+
{
25860+
"description": "The number of items per page.",
25861+
"in": "query",
25862+
"name": "perPage",
25863+
"required": false,
25864+
"schema": {
25865+
"minimum": 1,
25866+
"type": "number"
25867+
}
25868+
}
25869+
],
25870+
"responses": {
25871+
"200": {
25872+
"content": {
25873+
"application/json": {
25874+
"schema": {
25875+
"additionalProperties": false,
25876+
"properties": {
25877+
"items": {
25878+
"items": {
25879+
"additionalProperties": false,
25880+
"properties": {
25881+
"created_at": {
25882+
"type": "string"
25883+
},
25884+
"id": {
25885+
"type": "string"
25886+
},
25887+
"name": {
25888+
"type": "string"
25889+
},
25890+
"package": {
25891+
"additionalProperties": false,
25892+
"properties": {
25893+
"name": {
25894+
"type": "string"
25895+
},
25896+
"title": {
25897+
"type": "string"
25898+
},
25899+
"version": {
25900+
"type": "string"
25901+
}
25902+
},
25903+
"required": [
25904+
"name",
25905+
"title",
25906+
"version"
25907+
],
25908+
"type": "object"
25909+
},
25910+
"policy_ids": {
25911+
"items": {
25912+
"type": "string"
25913+
},
25914+
"type": "array"
25915+
},
25916+
"updated_at": {
25917+
"type": "string"
25918+
}
25919+
},
25920+
"required": [
25921+
"id",
25922+
"name",
25923+
"policy_ids",
25924+
"created_at",
25925+
"updated_at"
25926+
],
25927+
"type": "object"
25928+
},
25929+
"type": "array"
25930+
},
25931+
"page": {
25932+
"type": "number"
25933+
},
25934+
"perPage": {
25935+
"type": "number"
25936+
},
25937+
"total": {
25938+
"type": "number"
25939+
}
25940+
},
25941+
"required": [
25942+
"items",
25943+
"total",
25944+
"page",
25945+
"perPage"
25946+
],
25947+
"type": "object"
25948+
}
25949+
}
25950+
},
25951+
"description": "OK: A successful request."
25952+
},
25953+
"400": {
25954+
"content": {
25955+
"application/json": {
25956+
"schema": {
25957+
"additionalProperties": false,
25958+
"description": "Generic Error",
25959+
"properties": {
25960+
"attributes": {},
25961+
"error": {
25962+
"type": "string"
25963+
},
25964+
"errorType": {
25965+
"type": "string"
25966+
},
25967+
"message": {
25968+
"type": "string"
25969+
},
25970+
"statusCode": {
25971+
"type": "number"
25972+
}
25973+
},
25974+
"required": [
25975+
"message",
25976+
"attributes"
25977+
],
25978+
"type": "object"
25979+
}
25980+
}
25981+
},
25982+
"description": "A bad request."
25983+
}
25984+
},
25985+
"summary": "Get cloud connector usage (package policies using the connector)",
25986+
"tags": [
25987+
"Fleet cloud connectors"
25988+
],
25989+
"x-state": "Technical Preview"
25990+
}
25991+
},
2583525992
"/api/fleet/data_streams": {
2583625993
"get": {
2583725994
"description": "[Required authorization] Route required privileges: fleet-agents-all AND fleet-agent-policies-all AND fleet-settings-all.",

0 commit comments

Comments
 (0)