mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
[OAS] Remove repeated servers from connector APIs (#169710)
This commit is contained in:
parent
c056b93d98
commit
161e129fa3
20 changed files with 57 additions and 464 deletions
|
@ -14,8 +14,7 @@
|
|||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "http://localhost:5601",
|
||||
"description": "local"
|
||||
"url": "/"
|
||||
}
|
||||
],
|
||||
"security": [
|
||||
|
@ -97,18 +96,8 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/actions/connector/{connectorId}": {
|
||||
"get": {
|
||||
|
@ -144,12 +133,7 @@
|
|||
"404": {
|
||||
"$ref": "#/components/responses/404"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"summary": "Deletes a connector.",
|
||||
|
@ -175,12 +159,7 @@
|
|||
"404": {
|
||||
"$ref": "#/components/responses/404"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"summary": "Creates a connector.",
|
||||
|
@ -237,12 +216,7 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"summary": "Updates the attributes for a connector.",
|
||||
|
@ -293,18 +267,8 @@
|
|||
"404": {
|
||||
"$ref": "#/components/responses/404"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/actions/connector/{connectorId}/_execute": {
|
||||
"post": {
|
||||
|
@ -414,18 +378,8 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/actions/connectors": {
|
||||
"get": {
|
||||
|
@ -456,18 +410,8 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/actions/connector_types": {
|
||||
"get": {
|
||||
|
@ -556,18 +500,8 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/s/{spaceId}/api/actions/connector": {
|
||||
"post": {
|
||||
|
@ -637,18 +571,8 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/s/{spaceId}/api/actions/connector/{connectorId}": {
|
||||
"get": {
|
||||
|
@ -688,12 +612,7 @@
|
|||
"404": {
|
||||
"$ref": "#/components/responses/404"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"summary": "Deletes a connector.",
|
||||
|
@ -723,12 +642,7 @@
|
|||
"404": {
|
||||
"$ref": "#/components/responses/404"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"summary": "Creates a connector.",
|
||||
|
@ -789,12 +703,7 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"summary": "Updates the attributes for a connector.",
|
||||
|
@ -849,18 +758,8 @@
|
|||
"404": {
|
||||
"$ref": "#/components/responses/404"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/s/{spaceId}/api/actions/connectors": {
|
||||
"get": {
|
||||
|
@ -897,18 +796,8 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/s/{spaceId}/api/actions/connector_types": {
|
||||
"get": {
|
||||
|
@ -997,18 +886,8 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/s/{spaceId}/api/actions/connector/{connectorId}/_execute": {
|
||||
"post": {
|
||||
|
@ -1121,18 +1000,8 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/s/{spaceId}/api/actions/action/{actionId}": {
|
||||
"delete": {
|
||||
|
@ -1161,12 +1030,7 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"get": {
|
||||
"summary": "Retrieves a connector by ID.",
|
||||
|
@ -1191,12 +1055,7 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"summary": "Updates the attributes for a connector.",
|
||||
|
@ -1250,18 +1109,8 @@
|
|||
"404": {
|
||||
"$ref": "#/components/responses/404"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/s/{spaceId}/api/actions": {
|
||||
"get": {
|
||||
|
@ -1294,12 +1143,7 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"summary": "Creates a connector.",
|
||||
|
@ -1353,18 +1197,8 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/s/{spaceId}/api/actions/list_action_types": {
|
||||
"get": {
|
||||
|
@ -1426,18 +1260,8 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/s/{spaceId}/api/actions/action/{actionId}/_execute": {
|
||||
"post": {
|
||||
|
@ -1519,18 +1343,8 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
|
|
|
@ -9,8 +9,7 @@ info:
|
|||
name: Elastic License 2.0
|
||||
url: https://www.elastic.co/licensing/elastic-license
|
||||
servers:
|
||||
- url: http://localhost:5601
|
||||
description: local
|
||||
- url: /
|
||||
security:
|
||||
- basicAuth: []
|
||||
- apiKeyAuth: []
|
||||
|
@ -59,10 +58,6 @@ paths:
|
|||
$ref: '#/components/examples/create_xmatters_connector_response'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/actions/connector/{connectorId}:
|
||||
get:
|
||||
summary: Retrieves a connector by ID.
|
||||
|
@ -85,8 +80,6 @@ paths:
|
|||
$ref: '#/components/responses/401'
|
||||
'404':
|
||||
$ref: '#/components/responses/404'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
delete:
|
||||
summary: Deletes a connector.
|
||||
operationId: deleteConnector
|
||||
|
@ -102,8 +95,6 @@ paths:
|
|||
$ref: '#/components/responses/401'
|
||||
'404':
|
||||
$ref: '#/components/responses/404'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
post:
|
||||
summary: Creates a connector.
|
||||
operationId: createConnectorId
|
||||
|
@ -140,8 +131,6 @@ paths:
|
|||
$ref: '#/components/examples/create_index_connector_response'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
put:
|
||||
summary: Updates the attributes for a connector.
|
||||
operationId: updateConnector
|
||||
|
@ -172,10 +161,6 @@ paths:
|
|||
$ref: '#/components/responses/401'
|
||||
'404':
|
||||
$ref: '#/components/responses/404'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/actions/connector/{connectorId}/_execute:
|
||||
post:
|
||||
summary: Runs a connector.
|
||||
|
@ -246,10 +231,6 @@ paths:
|
|||
$ref: '#/components/examples/run_swimlane_connector_response'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/actions/connectors:
|
||||
get:
|
||||
summary: Retrieves all connectors.
|
||||
|
@ -270,10 +251,6 @@ paths:
|
|||
$ref: '#/components/examples/get_connectors_response'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/actions/connector_types:
|
||||
get:
|
||||
summary: Retrieves a list of all connector types.
|
||||
|
@ -337,10 +314,6 @@ paths:
|
|||
$ref: '#/components/examples/get_connector_types_generativeai_response'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/s/{spaceId}/api/actions/connector:
|
||||
post:
|
||||
summary: Creates a connector.
|
||||
|
@ -385,10 +358,6 @@ paths:
|
|||
$ref: '#/components/examples/create_xmatters_connector_response'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/s/{spaceId}/api/actions/connector/{connectorId}:
|
||||
get:
|
||||
summary: Retrieves a connector by ID.
|
||||
|
@ -414,8 +383,6 @@ paths:
|
|||
$ref: '#/components/responses/401'
|
||||
'404':
|
||||
$ref: '#/components/responses/404'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
delete:
|
||||
summary: Deletes a connector.
|
||||
operationId: deleteConnectorWithSpaceId
|
||||
|
@ -434,8 +401,6 @@ paths:
|
|||
$ref: '#/components/responses/401'
|
||||
'404':
|
||||
$ref: '#/components/responses/404'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
post:
|
||||
summary: Creates a connector.
|
||||
operationId: createConnectorIdWithSpaceId
|
||||
|
@ -474,8 +439,6 @@ paths:
|
|||
$ref: '#/components/examples/create_index_connector_response'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
put:
|
||||
summary: Updates the attributes for a connector.
|
||||
operationId: updateConnectorWithSpaceId
|
||||
|
@ -509,10 +472,6 @@ paths:
|
|||
$ref: '#/components/responses/401'
|
||||
'404':
|
||||
$ref: '#/components/responses/404'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/s/{spaceId}/api/actions/connectors:
|
||||
get:
|
||||
summary: Retrieves all connectors.
|
||||
|
@ -537,10 +496,6 @@ paths:
|
|||
$ref: '#/components/examples/get_connectors_response'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/s/{spaceId}/api/actions/connector_types:
|
||||
get:
|
||||
summary: Retrieves a list of all connector types.
|
||||
|
@ -604,10 +559,6 @@ paths:
|
|||
$ref: '#/components/examples/get_connector_types_response'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/s/{spaceId}/api/actions/connector/{connectorId}/_execute:
|
||||
post:
|
||||
summary: Runs a connector.
|
||||
|
@ -679,10 +630,6 @@ paths:
|
|||
$ref: '#/components/examples/run_swimlane_connector_response'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/s/{spaceId}/api/actions/action/{actionId}:
|
||||
delete:
|
||||
summary: Deletes a connector.
|
||||
|
@ -701,8 +648,6 @@ paths:
|
|||
description: Indicates a successful call.
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
get:
|
||||
summary: Retrieves a connector by ID.
|
||||
operationId: legacyGetConnector
|
||||
|
@ -718,8 +663,6 @@ paths:
|
|||
$ref: '#/components/responses/200_actions'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
put:
|
||||
summary: Updates the attributes for a connector.
|
||||
operationId: legacyUpdateConnector
|
||||
|
@ -754,10 +697,6 @@ paths:
|
|||
$ref: '#/components/responses/200_actions'
|
||||
'404':
|
||||
$ref: '#/components/responses/404'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/s/{spaceId}/api/actions:
|
||||
get:
|
||||
summary: Retrieves all connectors.
|
||||
|
@ -779,8 +718,6 @@ paths:
|
|||
$ref: '#/components/schemas/action_response_properties'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
post:
|
||||
summary: Creates a connector.
|
||||
operationId: legacyCreateConnector
|
||||
|
@ -817,10 +754,6 @@ paths:
|
|||
$ref: '#/components/responses/200_actions'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/s/{spaceId}/api/actions/list_action_types:
|
||||
get:
|
||||
summary: Retrieves a list of all connector types.
|
||||
|
@ -864,10 +797,6 @@ paths:
|
|||
description: The name of the connector type.
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/s/{spaceId}/api/actions/action/{actionId}/_execute:
|
||||
post:
|
||||
summary: Runs a connector.
|
||||
|
@ -918,10 +847,6 @@ paths:
|
|||
description: The status of the action.
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
components:
|
||||
securitySchemes:
|
||||
basicAuth:
|
||||
|
|
|
@ -14,8 +14,12 @@
|
|||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "http://localhost:5601",
|
||||
"description": "local"
|
||||
"url": "https://{kibanaUrl}",
|
||||
"variables": {
|
||||
"kibanaUrl": {
|
||||
"default": "localhost:5601"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"security": [
|
||||
|
@ -94,18 +98,8 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/actions/connector/{connectorId}": {
|
||||
"get": {
|
||||
|
@ -141,12 +135,7 @@
|
|||
"404": {
|
||||
"$ref": "#/components/responses/404"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"summary": "Deletes a connector.",
|
||||
|
@ -172,12 +161,7 @@
|
|||
"404": {
|
||||
"$ref": "#/components/responses/404"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"summary": "Creates a connector.",
|
||||
|
@ -234,12 +218,7 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"summary": "Updates the attributes for a connector.",
|
||||
|
@ -290,18 +269,8 @@
|
|||
"404": {
|
||||
"$ref": "#/components/responses/404"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/actions/connectors": {
|
||||
"get": {
|
||||
|
@ -332,18 +301,8 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/actions/connector_types": {
|
||||
"get": {
|
||||
|
@ -432,18 +391,8 @@
|
|||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
|
|
|
@ -9,8 +9,10 @@ info:
|
|||
name: Elastic License 2.0
|
||||
url: https://www.elastic.co/licensing/elastic-license
|
||||
servers:
|
||||
- url: http://localhost:5601
|
||||
description: local
|
||||
- url: https://{kibanaUrl}
|
||||
variables:
|
||||
kibanaUrl:
|
||||
default: localhost:5601
|
||||
security:
|
||||
- apiKeyAuth: []
|
||||
tags:
|
||||
|
@ -58,10 +60,6 @@ paths:
|
|||
$ref: '#/components/examples/create_xmatters_connector_response'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/actions/connector/{connectorId}:
|
||||
get:
|
||||
summary: Retrieves a connector by ID.
|
||||
|
@ -84,8 +82,6 @@ paths:
|
|||
$ref: '#/components/responses/401'
|
||||
'404':
|
||||
$ref: '#/components/responses/404'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
delete:
|
||||
summary: Deletes a connector.
|
||||
operationId: deleteConnector
|
||||
|
@ -101,8 +97,6 @@ paths:
|
|||
$ref: '#/components/responses/401'
|
||||
'404':
|
||||
$ref: '#/components/responses/404'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
post:
|
||||
summary: Creates a connector.
|
||||
operationId: createConnectorId
|
||||
|
@ -139,8 +133,6 @@ paths:
|
|||
$ref: '#/components/examples/create_index_connector_response'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
put:
|
||||
summary: Updates the attributes for a connector.
|
||||
operationId: updateConnector
|
||||
|
@ -171,10 +163,6 @@ paths:
|
|||
$ref: '#/components/responses/401'
|
||||
'404':
|
||||
$ref: '#/components/responses/404'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/actions/connectors:
|
||||
get:
|
||||
summary: Retrieves all connectors.
|
||||
|
@ -195,10 +183,6 @@ paths:
|
|||
$ref: '#/components/examples/get_connectors_response'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/actions/connector_types:
|
||||
get:
|
||||
summary: Retrieves a list of all connector types.
|
||||
|
@ -262,10 +246,6 @@ paths:
|
|||
$ref: '#/components/examples/get_connector_types_generativeai_response'
|
||||
'401':
|
||||
$ref: '#/components/responses/401'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
components:
|
||||
securitySchemes:
|
||||
apiKeyAuth:
|
||||
|
|
|
@ -12,8 +12,7 @@ tags:
|
|||
- name: connectors
|
||||
description: Connector APIs enable you to create and manage connectors.
|
||||
servers:
|
||||
- url: 'http://localhost:5601'
|
||||
description: local
|
||||
- url: /
|
||||
paths:
|
||||
'/api/actions/connector':
|
||||
$ref: 'paths/api@actions@connector.yaml'
|
||||
|
|
|
@ -12,8 +12,10 @@ tags:
|
|||
- name: connectors
|
||||
description: Connector APIs enable you to create and manage connectors.
|
||||
servers:
|
||||
- url: 'http://localhost:5601'
|
||||
description: local
|
||||
- url: https://{kibanaUrl}
|
||||
variables:
|
||||
kibanaUrl:
|
||||
default: localhost:5601
|
||||
paths:
|
||||
'/api/actions/connector':
|
||||
$ref: 'paths/api@actions@connector.yaml'
|
||||
|
|
|
@ -38,7 +38,3 @@ post:
|
|||
$ref: '../components/examples/create_xmatters_connector_response.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
|
|
@ -19,8 +19,6 @@ get:
|
|||
$ref: '../components/responses/401.yaml'
|
||||
'404':
|
||||
$ref: '../components/responses/404.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
delete:
|
||||
summary: Deletes a connector.
|
||||
|
@ -37,8 +35,6 @@ delete:
|
|||
$ref: '../components/responses/401.yaml'
|
||||
'404':
|
||||
$ref: '../components/responses/404.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
post:
|
||||
summary: Creates a connector.
|
||||
|
@ -77,8 +73,6 @@ post:
|
|||
$ref: '../components/examples/create_index_connector_response.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
put:
|
||||
summary: Updates the attributes for a connector.
|
||||
|
@ -110,7 +104,3 @@ put:
|
|||
$ref: '../components/responses/401.yaml'
|
||||
'404':
|
||||
$ref: '../components/responses/404.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
|
|
@ -69,7 +69,3 @@ post:
|
|||
$ref: '../components/examples/run_swimlane_connector_response.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
|
|
@ -59,8 +59,4 @@ get:
|
|||
getConnectorTypesServerlessResponse:
|
||||
$ref: '../components/examples/get_connector_types_generativeai_response.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
$ref: '../components/responses/401.yaml'
|
|
@ -16,8 +16,4 @@ get:
|
|||
getConnectorsResponse:
|
||||
$ref: '../components/examples/get_connectors_response.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
$ref: '../components/responses/401.yaml'
|
|
@ -18,8 +18,6 @@ get:
|
|||
$ref: '../components/schemas/action_response_properties.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
post:
|
||||
summary: Creates a connector.
|
||||
|
@ -58,9 +56,4 @@ post:
|
|||
'200':
|
||||
$ref: '../components/responses/200_actions.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
$ref: '../components/responses/401.yaml'
|
|
@ -16,8 +16,6 @@ delete:
|
|||
description: Indicates a successful call.
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
get:
|
||||
summary: Retrieves a connector by ID.
|
||||
|
@ -34,8 +32,6 @@ get:
|
|||
$ref: '../components/responses/200_actions.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
put:
|
||||
summary: Updates the attributes for a connector.
|
||||
|
@ -71,8 +67,3 @@ put:
|
|||
$ref: '../components/responses/200_actions.yaml'
|
||||
'404':
|
||||
$ref: '../components/responses/404.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
|
|
@ -46,8 +46,4 @@ post:
|
|||
type: string
|
||||
description: The status of the action.
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
$ref: '../components/responses/401.yaml'
|
|
@ -40,8 +40,4 @@ post:
|
|||
createXmattersConnectorResponse:
|
||||
$ref: '../components/examples/create_xmatters_connector_response.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
$ref: '../components/responses/401.yaml'
|
|
@ -22,8 +22,6 @@ get:
|
|||
$ref: '../components/responses/401.yaml'
|
||||
'404':
|
||||
$ref: '../components/responses/404.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
delete:
|
||||
summary: Deletes a connector.
|
||||
|
@ -44,8 +42,6 @@ delete:
|
|||
$ref: '../components/responses/401.yaml'
|
||||
'404':
|
||||
$ref: '../components/responses/404.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
post:
|
||||
summary: Creates a connector.
|
||||
|
@ -85,8 +81,6 @@ post:
|
|||
$ref: '../components/examples/create_index_connector_response.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
put:
|
||||
summary: Updates the attributes for a connector.
|
||||
|
@ -120,8 +114,4 @@ put:
|
|||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
'404':
|
||||
$ref: '../components/responses/404.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
$ref: '../components/responses/404.yaml'
|
|
@ -69,8 +69,4 @@ post:
|
|||
runSwimlaneConnectorResponse:
|
||||
$ref: '../components/examples/run_swimlane_connector_response.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
$ref: '../components/responses/401.yaml'
|
|
@ -59,8 +59,4 @@ get:
|
|||
getConnectorTypesResponse:
|
||||
$ref: '../components/examples/get_connector_types_response.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
$ref: '../components/responses/401.yaml'
|
|
@ -20,8 +20,4 @@ get:
|
|||
getConnectorsResponse:
|
||||
$ref: '../components/examples/get_connectors_response.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
$ref: '../components/responses/401.yaml'
|
|
@ -39,8 +39,4 @@ get:
|
|||
type: string
|
||||
description: The name of the connector type.
|
||||
'401':
|
||||
$ref: '../components/responses/401.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
$ref: '../components/responses/401.yaml'
|
Loading…
Add table
Add a link
Reference in a new issue