GET
/
rentals
/
{rentalId}
/
stacks
/
{stackId}
/
containers
curl --request GET \
  --url https://restapi.gputrader.io/v1/rentals/{rentalId}/stacks/{stackId}/containers \
  --header 'X-API-Key: <api-key>'
[
  {
    "Name": "<string>",
    "Id": "<string>",
    "Created": 123,
    "Ports": [
      {
        "PrivatePort": 123,
        "Type": "tcp",
        "IP": "<string>",
        "PublicPort": 123
      }
    ],
    "State": "<string>"
  }
]

Authorizations

X-API-Key
string
header
required

Path Parameters

rentalId
string
required

Rental ID

stackId
string
required

Stack ID

Response

200
application/json
Successfully retrieved containers
Name
string

Name of the container

Id
string

Container ID

Created
number

Unix timestamp of container creation

Ports
object[]
State
string

Current state of the container