GET
/
rentals
/
{rentalId}
/
stacks
/
{stackId}
/
containers
/
{containerId}
/
tunnel
curl --request GET \
  --url https://restapi.gputrader.io/v1/rentals/{rentalId}/stacks/{stackId}/containers/{containerId}/tunnel \
  --header 'X-API-Key: <api-key>'
{
  "isBasicAuthEnabled": true,
  "url": "<string>",
  "username": "<string>",
  "password": "<string>"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

rentalId
string
required

Rental ID

stackId
string
required

Stack ID

containerId
string
required

Container ID

Query Parameters

privatePort
string
required

Private port number for the tunnel

publicPort
string

Public port number for the tunnel (optional, will be removed in future)

Response

200
application/json

Successfully retrieved tunnel information

The response is of type object.