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.
Unique Id of the space.
The name of the space.
Indicates the position of this space in the Marketplace list (can be used to specify a custom listing starting point).
Space description in markdown (.md) format.
Name of the organization responsible for space management.
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.
Names of providers supporting this space.
Sum of granted support sizes.
Timestamp in seconds (UNIX epoch), e.g. 1563819329.
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.
error object Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Authentication error.
error object Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Authorization error.
error object Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Resource not found.
error object Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Internal server Error.
error object Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}