Cloud
The endpoint object
One way into a service: a generated public HTTPS address, a public TCP port, a private address only the project's services can reach, or a custom domain.
Attributes
idstring: The endpoint's id.typestring: public_http, public_tcp or private.scopestring: service (load balanced) or replica (one replica).addressstring: The host name.urlstring: The full address, for HTTP endpoints.portnumber: The container port it forwards to.public_portnumber: For public_tcp: the port on the public address, else null.customboolean: True for a custom domain.
Example
{
"data": {
"id": "dom_01jdk5t3y5u7i9o1p3a5s7d9fg",
"type": "public_http",
"scope": "service",
"address": "api-x8ca.dispracloud.app",
"url": "https://api-x8ca.dispracloud.app",
"port": 3000,
"public_port": 24117,
"custom": false
}
}
Endpoints
PATCHChange an endpoint's portPOSTCreate an endpointDELETEDelete an endpointGETList endpointsPOSTRegenerate an endpoint