mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
# Backport This will backport the following commits from `main` to `8.11`: - [[OAS] Remove redundant servers from saved object APIs (#169886)](https://github.com/elastic/kibana/pull/169886) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Lisa Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-10-31T01:24:08Z","message":"[OAS] Remove redundant servers from saved object APIs (#169886)","sha":"cdde75ad8126b4b27df44d9506f8b10184987397","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","Feature:Saved Objects","release_note:skip","docs","backport:prev-minor","v8.12.0"],"number":169886,"url":"https://github.com/elastic/kibana/pull/169886","mergeCommit":{"message":"[OAS] Remove redundant servers from saved object APIs (#169886)","sha":"cdde75ad8126b4b27df44d9506f8b10184987397"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169886","number":169886,"mergeCommit":{"message":"[OAS] Remove redundant servers from saved object APIs (#169886)","sha":"cdde75ad8126b4b27df44d9506f8b10184987397"}}]}] BACKPORT--> Co-authored-by: Lisa Cawley <lcawley@elastic.co>
This commit is contained in:
parent
c0db6963e1
commit
5c42f0f281
16 changed files with 21 additions and 251 deletions
|
@ -14,8 +14,7 @@
|
|||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "http://localhost:5601",
|
||||
"description": "local"
|
||||
"url": "/"
|
||||
}
|
||||
],
|
||||
"security": [
|
||||
|
@ -112,18 +111,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/saved_objects/_bulk_create": {
|
||||
"post": {
|
||||
|
@ -180,18 +169,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/saved_objects/_bulk_delete": {
|
||||
"post": {
|
||||
|
@ -249,18 +228,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/saved_objects/_bulk_get": {
|
||||
"post": {
|
||||
|
@ -309,18 +278,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/saved_objects/_bulk_resolve": {
|
||||
"post": {
|
||||
|
@ -370,18 +329,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/saved_objects/_bulk_update": {
|
||||
"post": {
|
||||
|
@ -430,18 +379,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/saved_objects/_export": {
|
||||
"post": {
|
||||
|
@ -530,18 +469,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/saved_objects/_find": {
|
||||
"get": {
|
||||
|
@ -708,18 +637,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/saved_objects/_import": {
|
||||
"post": {
|
||||
|
@ -831,18 +750,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/saved_objects/_resolve_import_errors": {
|
||||
"post": {
|
||||
|
@ -1001,18 +910,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/saved_objects/{type}": {
|
||||
"post": {
|
||||
|
@ -1084,12 +983,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/saved_objects/{type}/{id}": {
|
||||
"get": {
|
||||
|
@ -1128,12 +1022,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"summary": "Create Kibana saved objects.",
|
||||
|
@ -1268,12 +1157,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://localhost:5601"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/saved_objects/resolve/{type}/{id}": {
|
||||
"get": {
|
||||
|
@ -1313,18 +1197,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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: []
|
||||
|
@ -83,10 +82,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/saved_objects/_bulk_create:
|
||||
post:
|
||||
summary: Create multiple Kibana saved objects.
|
||||
|
@ -122,10 +117,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/400_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/saved_objects/_bulk_delete:
|
||||
post:
|
||||
summary: Remove multiple Kibana saved objects.
|
||||
|
@ -165,10 +156,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/400_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/saved_objects/_bulk_get:
|
||||
post:
|
||||
summary: Retrieve multiple Kibana saved objects by identifier.
|
||||
|
@ -199,10 +186,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/400_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/saved_objects/_bulk_resolve:
|
||||
post:
|
||||
summary: Retrieve multiple Kibana saved objects by identifier using any legacy URL aliases if they exist.
|
||||
|
@ -236,10 +219,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/400_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/saved_objects/_bulk_update:
|
||||
post:
|
||||
summary: Update the attributes for multiple Kibana saved objects.
|
||||
|
@ -271,10 +250,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/400_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/saved_objects/_export:
|
||||
post:
|
||||
summary: Retrieve sets of saved objects that you want to import into Kibana.
|
||||
|
@ -336,10 +311,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/400_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/saved_objects/_find:
|
||||
get:
|
||||
summary: Retrieve a paginated set of Kibana saved objects.
|
||||
|
@ -441,10 +412,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/400_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/saved_objects/_import:
|
||||
post:
|
||||
summary: Create sets of Kibana saved objects from a file created by the export API.
|
||||
|
@ -531,10 +498,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/400_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/saved_objects/_resolve_import_errors:
|
||||
post:
|
||||
summary: Resolve errors from the Import objects API.
|
||||
|
@ -658,10 +621,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/400_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/saved_objects/{type}:
|
||||
post:
|
||||
summary: Create Kibana saved objects with randomly generated identifiers.
|
||||
|
@ -705,8 +664,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/saved_objects/{type}/{id}:
|
||||
get:
|
||||
summary: Retrieve a single Kibana saved object by identifier.
|
||||
|
@ -730,8 +687,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/400_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
post:
|
||||
summary: Create Kibana saved objects.
|
||||
operationId: createSavedObjectId
|
||||
|
@ -810,8 +765,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
/api/saved_objects/resolve/{type}/{id}:
|
||||
get:
|
||||
summary: Retrieve a single Kibana saved object by identifier using any legacy URL alias if it exists.
|
||||
|
@ -837,10 +790,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/400_response'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
components:
|
||||
securitySchemes:
|
||||
basicAuth:
|
||||
|
|
|
@ -12,8 +12,7 @@ tags:
|
|||
- name: saved objects
|
||||
description: Manage Kibana saved objects, including dashboards, visualizations, and more.
|
||||
servers:
|
||||
- url: 'http://localhost:5601'
|
||||
description: local
|
||||
- url: /
|
||||
paths:
|
||||
# Paths in the default space
|
||||
'/api/encrypted_saved_objects/_rotate_key':
|
||||
|
|
|
@ -61,8 +61,4 @@ post:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
type: object
|
|
@ -32,8 +32,3 @@ post:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/400_response.yaml'
|
||||
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
|
@ -41,8 +41,4 @@ post:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/400_response.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
$ref: '../components/schemas/400_response.yaml'
|
|
@ -26,8 +26,4 @@ post:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/400_response.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
$ref: '../components/schemas/400_response.yaml'
|
|
@ -34,7 +34,3 @@ post:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/400_response.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
|
@ -30,7 +30,3 @@ post:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/400_response.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
|
@ -58,7 +58,3 @@ post:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/400_response.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
|
@ -105,7 +105,3 @@ get:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/400_response.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
|
@ -83,7 +83,3 @@ post:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/400_response.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
|
@ -120,7 +120,3 @@ post:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/400_response.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
servers:
|
||||
- url: https://localhost:5601
|
|
@ -24,8 +24,3 @@ get:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/400_response.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
servers:
|
||||
- url: https://localhost:5601
|
|
@ -40,5 +40,3 @@ post:
|
|||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
servers:
|
||||
- url: https://localhost:5601
|
|
@ -20,8 +20,6 @@ get:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: '../components/schemas/400_response.yaml'
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
|
||||
post:
|
||||
summary: Create Kibana saved objects.
|
||||
|
@ -101,6 +99,4 @@ put:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
servers:
|
||||
- url: https://localhost:5601
|
||||
type: object
|
Loading…
Add table
Add a link
Reference in a new issue