kibana/docs/api/spaces-management/get.asciidoc
Kaarina Tungseth fda3196611
[DOCS] Updates API requests and examples (#60695)
* [DOCS] Updates API requests and examples

* Review comments
2020-03-20 16:33:20 -05:00

37 lines
696 B
Plaintext

[[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": ""
}
--------------------------------------------------