Kubernetes
List TCP port forwards
L4 forwards published on the cluster's public gateway (created when exposing an app over TCP).
get/api/v1/k8s/clusters/{cluster_id}/tcp-ports
Path parameters
cluster_idstring required
Cluster ID (short id, e.g. q7z7zg)
Headers
X-Project-IDstring uuid required
Project ID. Required for all mutating operations (create, delete, power actions, resize).
Response
Active TCP forwards
Example response
{
"forwards": [
{
"protocol": "tcp",
"endpoint": "23.26.4.133:5432"
}
]
}Changes
Changed in 1 of the 29 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○