kibana/docs/api/spaces-management/get.asciidoc
Kaarina Tungseth 1e3f14395c
[DOCS] API intro (#47164)
* [DOCS] API intro

* Logstash configuration management

* Reformatting

* Comments from Josh

* Commets from Gail

* Fixed broken things
2019-10-16 15:10:40 -05:00

38 lines
771 B
Plaintext

[[spaces-api-get]]
=== Get a space API
++++
<titleabbrev>Get space</titleabbrev>
++++
Retrieve 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": ""
}
--------------------------------------------------