curl --request GET \
--url https://api.gputrader.io/v1/rentals/{rentalId}/stacks/{stackId}/containers \
--header 'X-API-Key: <api-key>'
[
{
"Name": "<string>",
"Id": "<string>",
"Created": 123,
"Labels": [
"<string>"
],
"Ports": [
{
"PrivatePort": 123,
"Type": "tcp",
"IP": "<string>",
"PublicPort": 123
}
],
"State": "<string>"
}
]
Retrieve a list of containers for a specific stack within a rental
curl --request GET \
--url https://api.gputrader.io/v1/rentals/{rentalId}/stacks/{stackId}/containers \
--header 'X-API-Key: <api-key>'
[
{
"Name": "<string>",
"Id": "<string>",
"Created": 123,
"Labels": [
"<string>"
],
"Ports": [
{
"PrivatePort": 123,
"Type": "tcp",
"IP": "<string>",
"PublicPort": 123
}
],
"State": "<string>"
}
]
Successfully retrieved containers
The response is of type object[]
.