Add package name to install package response (#221038)

Resolves: https://github.com/elastic/kibana/issues/185932

- Adds a `name` field to the `_meta` object of
`InstallPackageResponseSchema`, which represents the package name.

This addition will appear in the responses for:
- Install from registry: POST
`/api/fleet/epm/packages/<pkgName>/<version?>`
- Install by upload: POST `/api/fleet/epm/packages`
- Create custom integration: POST `/api/fleet/epm/custom_integrations`
This commit is contained in:
Michel Losier 2025-05-21 08:29:33 -07:00 committed by GitHub
parent f4f65561f0
commit b75fdb24ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 80 additions and 15 deletions

View file

@ -24202,10 +24202,14 @@
"properties": {
"install_source": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"install_source"
"install_source",
"name"
],
"type": "object"
},
@ -25197,10 +25201,14 @@
"properties": {
"install_source": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"install_source"
"install_source",
"name"
],
"type": "object"
},
@ -26957,10 +26965,14 @@
"properties": {
"install_source": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"install_source"
"install_source",
"name"
],
"type": "object"
},

View file

@ -24202,10 +24202,14 @@
"properties": {
"install_source": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"install_source"
"install_source",
"name"
],
"type": "object"
},
@ -25197,10 +25201,14 @@
"properties": {
"install_source": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"install_source"
"install_source",
"name"
],
"type": "object"
},
@ -26957,10 +26965,14 @@
"properties": {
"install_source": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"install_source"
"install_source",
"name"
],
"type": "object"
},

View file

@ -25781,8 +25781,11 @@ paths:
properties:
install_source:
type: string
name:
type: string
required:
- install_source
- name
items:
items:
anyOf:
@ -26451,8 +26454,11 @@ paths:
properties:
install_source:
type: string
name:
type: string
required:
- install_source
- name
items:
items:
anyOf:
@ -27376,8 +27382,11 @@ paths:
properties:
install_source:
type: string
name:
type: string
required:
- install_source
- name
items:
items:
anyOf:

View file

@ -28023,8 +28023,11 @@ paths:
properties:
install_source:
type: string
name:
type: string
required:
- install_source
- name
items:
items:
anyOf:
@ -28693,8 +28696,11 @@ paths:
properties:
install_source:
type: string
name:
type: string
required:
- install_source
- name
items:
items:
anyOf:
@ -29618,8 +29624,11 @@ paths:
properties:
install_source:
type: string
name:
type: string
required:
- install_source
- name
items:
items:
anyOf: