Get space details
Returns details of space specified by space Id in the path.
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string The Id of a space which details should be returned. |
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE getSpaceDetails id=$SPACE_ID --host https://$HOST:9443Responses
The space details.
| Property | Type & Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id string The Id of the space. | |||||||||||||||||
name string The name of the space. | |||||||||||||||||
storageId string Id of storage that supports this space on provider that is associated with this panel. | |||||||||||||||||
localStorages array of strings The list of IDs of cluster storage resources. | |||||||||||||||||
supportingProviders object The collection of provider IDs with associated supported storage space in bytes. | |||||||||||||||||
storageImport object (StorageImport) Configuration of the storage import within the space.
| |||||||||||||||||
spaceOccupancy integer Amount of storage [b] used by data from given space on that storage. | |||||||||||||||||
Unauthorized request.
Forbidden request.
Space does not exist or is not supported by the provider.
Internal server error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Services needed to fulfill this request are not running.