Get an endpoint by ID
get
/v1/endpoints/{id}Request
Authorization
- Authorizationstringheaderrequired
Key in the format
Bearer <API-key>. Create a key on the API keys page.
Path Parameters
- id integer<int64>required
Response
- Array [
- ]
aliasstring
Alias
Example:
postgrescreated_atstring<date-time>
Creation date
hostnamestring
Hostname
Example:
ru.tuna.amidinteger<int64>
Identifier
Example:
42last_tunnels object[]
Recent tunnels. Kept for compatibility; use GET /v1/endpoints/{id}/tunnels
addressstring
Address
Example:
5432command_namestring
Command
Possible values: [tcp, sshd, postgres, redis, mysql]
Example:
postgreslocationstring
Location: ru, nl, or global for a port in a cell zone, which doesn't need one
Possible values: [ru, nl, global]
Example:
ruowner object
activeboolean
Active flag
avatar_urlstring
Avatar
Example:
https://www.gravatar.com/avatar/00000000000000000000000000000000emailstringEmail
Example:
jane@example.comidinteger<int64>
Identifier
Example:
42namestring
Name
Example:
Jane Doerolestring
Role
Possible values: [primary_owner, owner, admin, member]
Example:
memberportinteger<uint32>
Port
Possible values: <= 65535
Example:
20001provisioned_bystring
What created or modified the object: terraform means the Terraform provider, empty means another client
typestring
Endpoint type
Possible values: [dynamic, static]
Example:
static