Get public handle service details
Returns the publicly available details of a specific handle service. This endpoint is available for anyone knowing the handle service Id, without authentication.
Example cURL requests
Get public handle service details
curl -X GET https://$ZONE_HOST/api/v3/onezone/handle_services/$HANDLE_ID/public
{
"handleServiceId": "95b663a6467c72ab1256865efef9e387",
"name": "EOSC-hub B2HANDLE"
}
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string The handle service Id. |
Request Examples
onezone-rest-cli getPublicHandleServiceDetails id=45bf25a5cb16e12a9faa6d088a2c7088Responses
The publicly available details of a specific handle service.
| Property | Type & Description |
|---|---|
handleServiceId string Handle service Id. | |
name string The user defined name of the service. | |
Example
{
"handleServiceId": "cdca849d2b71bc7205f3eab686cf62fb",
"name": "EOSC-hub B2HANDLE"
}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."
}
}