Returns a tibble with metadata about all PostgreSQL compute endpoints in the specified project of a Neon Database server from its
GET /projects/{project_id}/endpoints
API endpoint.
Usage
endpoints(
project_id = funky::config_val("project_id"),
origin = funky::config_val("origin"),
api_key = funky::config_val("api_key"),
max_tries = 3L
)
Arguments
- project_id
character(1)
Neon project identifier.- origin
character(1)
Neon server origin.- api_key
character(1)
API key with sufficient access to the Neonproject_id
.- max_tries
Maximum number of request attempts in case of an HTTP error. An integerish scalar. Retries are performed using exponential backoff and jitter, see
httr2::req_retry()
for details.
See also
Other functions to manage Neon's compute endpoints:
endpoint()
,
restart_endpoint()
,
start_endpoint()
,
suspend_endpoint()
,
wake_endpoint()