mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
37 lines
No EOL
754 B
Text
37 lines
No EOL
754 B
Text
[[spaces-api-get]]
|
|
=== Get a space API
|
|
++++
|
|
<titleabbrev>Get space</titleabbrev>
|
|
++++
|
|
|
|
Retrieves a specified {kib} space.
|
|
|
|
experimental["The underlying Spaces concepts are stable, but the APIs for managing Spaces are experimental."]
|
|
|
|
[[spaces-api-get-request]]
|
|
==== Request
|
|
|
|
`GET /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,js]
|
|
--------------------------------------------------
|
|
{
|
|
"id": "marketing",
|
|
"name": "Marketing",
|
|
"description" : "This is the Marketing Space",
|
|
"color": "#aabbcc",
|
|
"initials": "MK",
|
|
"disabledFeatures": []
|
|
}
|
|
-------------------------------------------------- |