cURL
curl --request GET \ --url https://rdp.sh/api/v1/stock \ --header 'Authorization: <api-key>'
[ { "stock": { "plan": { "id": 1, "cores": 2, "price": 10, "title": "RDP-40-2C-6M", "memory": 6, "storage": 40 }, "stock": 3, "available": true }, "region": { "id": 1, "region": "nl", "location": "Amsterdam" } } ]
The request was successful, and the server has returned the requested resource in the response body.
The response is of type GetStockOk · object[].
GetStockOk · object[]