curl --request GET \
--url https://api.gputrader.io/v1/rentals/{rentalId}/stacks \
--header 'X-API-Key: <api-key>'
[
{
"template": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"stackId": "<string>",
"envId": "<string>",
"pStackId": 123,
"tunnels": [
{}
],
"stackName": "<string>",
"pStackName": "<string>",
"userId": "<string>",
"rentalId": "<string>",
"errorMsg": "<string>",
"status": "APPLYING"
}
]
Retrieve all stacks for a specific rental
curl --request GET \
--url https://api.gputrader.io/v1/rentals/{rentalId}/stacks \
--header 'X-API-Key: <api-key>'
[
{
"template": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"stackId": "<string>",
"envId": "<string>",
"pStackId": 123,
"tunnels": [
{}
],
"stackName": "<string>",
"pStackName": "<string>",
"userId": "<string>",
"rentalId": "<string>",
"errorMsg": "<string>",
"status": "APPLYING"
}
]
Rental ID
Successfully retrieved stacks
The response is of type object[]
.