kibana/docs/api/spaces-management/get.asciidoc
2019-09-18 10:54:28 -05:00

38 lines
No EOL
772 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": [],
"imageUrl": ""
}
--------------------------------------------------