38 lines
No EOL
772 B
Text
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": ""
|
|
}
|
|
-------------------------------------------------- |