Get space details in the Marketplace
Returns the Marketplace related details about a specific space.
This operation can be performed by any user, but only for spaces advertised in the Marketplace.
Example cURL requests
Get space details in the Marketplace
curl -H "x-auth-token: $TOKEN" -H \
https://$ZONE_HOST/api/v3/onezone/spaces/marketplace/$SPACE_ID
{
"name": "Meteo dataset",
"index": "Meteo dataset@2c0160248ba9a66f45da751ca459535a",
"description": "This dataset contains meteorological data for major Polish cities in years 2012-2014.",
"organizationName": "ACK Cyfronet AGH",
"tags": ["archival", "big-data", "open-data", "environment"],
"providerNames": ["krakow", "paris"],
"totalSupportSize": 30500000000,
"creationTime": 1576152793
}
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string Space Id. |
Request Examples
onezone-rest-cli getSpaceDataInMarketplace id=b752ceafabb662b4e5728b2ded25cdd1Responses
Marketplace related details about a space.
| Property | Type & Description |
|---|---|
spaceId string Unique Id of the space. | |
name string The name of the space. | |
index string Indicates the position of this space in the Marketplace list (can be used to specify a custom listing starting point). | |
description string (SpaceDescription) Space description in markdown (.md) format. | |
organizationName string (SpaceOrganizationName) Name of the organization responsible for space management. | |
tags array of strings A list of short keywords or phrases that helps to understand the purpose of a space. Available space tags can be retrieved from the configuration endpoint. | |
providerNames array of strings Names of providers supporting this space. | |
totalSupportSize integer Sum of granted support sizes. | |
creationTime integer (Timestamp) Timestamp in seconds (UNIX epoch), e.g. | |
Example
{
"spaceId": "2c0160248ba9a66f45da751ca459535a",
"name": "Meteo dataset",
"index": "Meteo dataset@2c0160248ba9a66f45da751ca459535a",
"description": "This dataset contains meteorological data for major Polish cities in years 2012-2014.",
"organizationName": "ACK Cyfronet AGH",
"tags": [
"archival",
"big-data",
"open-data",
"environment"
],
"providerNames": [
"krakow",
"paris"
],
"totalSupportSize": 30500000000,
"creationTime": 1576152793
}Invalid request.
| 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."
}
}Authentication 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."
}
}Authorization 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."
}
}Resource not found.
| 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."
}
}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."
}
}