Request space membership via Marketplace
Request space membership for a space advertised in the Marketplace as currently authenticated user.
This operation can be invoked on behalf of the current user only.
Example cURL requests
Request space membership via Marketplace
curl -u admin:password -H "Content-type: application/json" -X POST \
-d '{ "contactEmail" : "user@example.com"}' \
https://$ZONE_HOST/api/v3/onezone/spaces/marketplace/$SPACE_ID/request
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string Space Id. |
Request body
Space membership request body.
| Property | Type & Description |
|---|---|
contactEmail required string Requester email address, which will be passed to the space maintainer for the purpose of processing the request and used for notifying about their decision. By providing the address, the user agrees to the above. | |
message string A message to the maintainer stating user's motivation to join the space and/or any information that may help in making the decision. | |
Request Examples
{
"contactEmail": "user@example.com"
}Responses
The request has been delivered and awaits resolution.
| Property | Type & Description |
|---|---|
requestId string Unique Id of the request. | |
Example
{
"requestId": "97216a666edd09945880a0785ad66a7b"
}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."
}
}