mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
Allow initialNamespaces to be used for isolated types (#102585)
This commit is contained in:
parent
953a464e94
commit
00a6bdd401
19 changed files with 307 additions and 104 deletions
|
@ -45,6 +45,11 @@ experimental[] Create multiple {kib} saved objects.
|
|||
(Optional, string array) Identifiers for the <<xpack-spaces,spaces>> in which this object is created. If this is provided, the
|
||||
object is created only in the explicitly defined spaces. If this is not provided, the object is created in the current space
|
||||
(default behavior).
|
||||
* For shareable object types (registered with `namespaceType: 'multiple'`): this option can be used to specify one or more spaces, including
|
||||
the "All spaces" identifier (`'*'`).
|
||||
* For isolated object types (registered with `namespaceType: 'single'` or `namespaceType: 'multiple-isolated'`): this option can only be
|
||||
used to specify a single space, and the "All spaces" identifier (`'*'`) is not allowed.
|
||||
* For global object types (registered with `namespaceType: 'agnostic'`): this option cannot be used.
|
||||
|
||||
`version`::
|
||||
(Optional, number) Specifies the version.
|
||||
|
|
|
@ -52,6 +52,11 @@ any data that you send to the API is properly formed.
|
|||
(Optional, string array) Identifiers for the <<xpack-spaces,spaces>> in which this object is created. If this is provided, the
|
||||
object is created only in the explicitly defined spaces. If this is not provided, the object is created in the current space
|
||||
(default behavior).
|
||||
* For shareable object types (registered with `namespaceType: 'multiple'`): this option can be used to specify one or more spaces, including
|
||||
the "All spaces" identifier (`'*'`).
|
||||
* For isolated object types (registered with `namespaceType: 'single'` or `namespaceType: 'multiple-isolated'`): this option can only be
|
||||
used to specify a single space, and the "All spaces" identifier (`'*'`) is not allowed.
|
||||
* For global object types (registered with `namespaceType: 'agnostic'): this option cannot be used.
|
||||
|
||||
[[saved-objects-api-create-request-codes]]
|
||||
==== Response code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue