mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[OpenAPI] Fix Serverless API base URL (#202373)
This commit is contained in:
parent
d4094c17be
commit
54370b209c
9 changed files with 29 additions and 38 deletions
|
@ -42,11 +42,6 @@ info:
|
|||
x-feedbackLink:
|
||||
label: Feedback
|
||||
url: https://github.com/elastic/docs-content/issues/new?assignees=&labels=feedback%2Ccommunity&projects=&template=api-feedback.yaml&title=%5BFeedback%5D%3A+
|
||||
servers:
|
||||
- url: https://{kibana_url}
|
||||
variables:
|
||||
kibana_url:
|
||||
default: localhost:5601
|
||||
security:
|
||||
- apiKeyAuth: []
|
||||
- basicAuth: []
|
||||
|
|
|
@ -40,7 +40,7 @@ servers:
|
|||
- url: https://{kibana_url}
|
||||
variables:
|
||||
kibana_url:
|
||||
default: localhost:5601
|
||||
default: <KIBANA_URL>
|
||||
security:
|
||||
- apiKeyAuth: []
|
||||
tags:
|
||||
|
@ -34488,8 +34488,6 @@ paths:
|
|||
schema:
|
||||
$ref: '#/components/schemas/SLOs_409_response'
|
||||
description: Conflict - The SLO id already exists
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
summary: Create an SLO
|
||||
tags:
|
||||
- slo
|
||||
|
@ -34529,8 +34527,6 @@ paths:
|
|||
schema:
|
||||
$ref: '#/components/schemas/SLOs_403_response'
|
||||
description: Unauthorized response
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
summary: Batch delete rollup and summary data
|
||||
tags:
|
||||
- slo
|
||||
|
|
|
@ -14,7 +14,7 @@ actions:
|
|||
- url: https://{kibana_url}
|
||||
variables:
|
||||
kibana_url:
|
||||
default: localhost:5601
|
||||
default: <KIBANA_URL>
|
||||
# Mark all operations as beta
|
||||
- target: "$.paths[*]['get','put','post','delete','options','head','patch','trace']"
|
||||
description: Add x-beta
|
||||
|
|
|
@ -4,6 +4,17 @@ info:
|
|||
title: Overlays for the Kibana API document
|
||||
version: 0.0.1
|
||||
actions:
|
||||
# Clean up server definitions
|
||||
- target: '$.servers.*'
|
||||
description: Remove all servers so we can add our own.
|
||||
remove: true
|
||||
- target: '$.servers'
|
||||
description: Add server into the now empty server array.
|
||||
update:
|
||||
- url: https://{kibana_url}
|
||||
variables:
|
||||
kibana_url:
|
||||
default: localhost:5601
|
||||
# Add an introduction to spaces
|
||||
- target: '$'
|
||||
description: Add an extra page about spaces
|
||||
|
|
|
@ -14,8 +14,12 @@
|
|||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "http://localhost:5601",
|
||||
"description": "local"
|
||||
"url": "https://{kibana_url}",
|
||||
"variables": {
|
||||
"kibana_url": {
|
||||
"default": "localhost:5601"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
|
@ -102,12 +106,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"get": {
|
||||
"summary": "Get a paginated list of SLOs",
|
||||
|
@ -738,12 +737,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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://{kibana_url}
|
||||
variables:
|
||||
kibana_url:
|
||||
default: localhost:5601
|
||||
tags:
|
||||
- name: slo
|
||||
description: SLO APIs enable you to define, manage and track service-level objectives
|
||||
|
@ -63,8 +65,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/409_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
get:
|
||||
summary: Get a paginated list of SLOs
|
||||
operationId: findSlosOp
|
||||
|
@ -448,8 +448,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/403_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
components:
|
||||
parameters:
|
||||
kbn_xsrf:
|
||||
|
|
|
@ -12,8 +12,10 @@ tags:
|
|||
- name: slo
|
||||
description: SLO APIs enable you to define, manage and track service-level objectives
|
||||
servers:
|
||||
- url: "http://localhost:5601"
|
||||
description: local
|
||||
- url: https://{kibana_url}
|
||||
variables:
|
||||
kibana_url:
|
||||
default: localhost:5601
|
||||
paths:
|
||||
"/s/{spaceId}/api/observability/slos":
|
||||
$ref: "paths/s@{spaceid}@api@slos.yaml"
|
||||
|
|
|
@ -46,9 +46,6 @@ post:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/409_response.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
get:
|
||||
summary: Get a paginated list of SLOs
|
||||
operationId: findSlosOp
|
||||
|
|
|
@ -37,5 +37,3 @@ post:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/403_response.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue