Get a cloud contract

get
Get a cloud contract

https://api.just-mining.com/v1/clouds/:id
This endpoint allows to get an owned cloud contract
Request
Response
Request
Path Parameters
id
required
integer
ID of the cloud contract.
Headers
API-KEY
required
string
Authentification token
Response
200: OK
Cloud contract successfully retrieved.
{
"success": true,
"data": {
"id": 571,
"status": "inactive",
"startDate": false,
"expirationDate": 1535932800,
"hashrate": 1000000,
"currencyCode": "ETC",
"mined": {
"ETH": 0.05191667,
"ZEC": 0.00160224,
"ETC": 0.09365148
}
}
}
404: Not Found
Could not find a cloud contract matching this query.
{
"success": false,
"error": {
"code": 404,
"message": "RESSOURCE_NOT_FOUND"
}
}

‚Äč