mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
36 lines
696 B
Text
36 lines
696 B
Text
[[spaces-api-get]]
|
|
=== Get a space API
|
|
++++
|
|
<titleabbrev>Get space</titleabbrev>
|
|
++++
|
|
|
|
experimental[] Retrieve a specified {kib} space.
|
|
|
|
[[spaces-api-get-request]]
|
|
==== Request
|
|
|
|
`GET <kibana host>:<port>/api/spaces/space/marketing`
|
|
|
|
[[spaces-api-get-response-codes]]
|
|
==== Response code
|
|
|
|
`200`::
|
|
Indicates a successful call.
|
|
|
|
[[spaces-api-get-example]]
|
|
==== Example
|
|
|
|
The API returns the following:
|
|
|
|
[source,sh]
|
|
--------------------------------------------------
|
|
{
|
|
"id": "marketing",
|
|
"name": "Marketing",
|
|
"description" : "This is the Marketing Space",
|
|
"color": "#aabbcc",
|
|
"initials": "MK",
|
|
"disabledFeatures": [],
|
|
"imageUrl": ""
|
|
}
|
|
--------------------------------------------------
|