List or watch connections
const url = 'https://example.com/apis/nodus.dev/v1/namespaces/example/connections';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/apis/nodus.dev/v1/namespaces/example/connectionsParameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The project.
Query Parameters
Section titled “ Query Parameters ”Responses
Section titled “ Responses ”OK
object
Connection is an external system Nodus talks to for the customer: a database for sinks and query imports, W&B, the GitHub App or an S3 bucket. It is verified through the SSRF-safe dialer and its hosts are pinned.
object
object
object
object
object
object
object
ConnectionSpec is a Connection’s settings.
object
NeonConnection selects a Neon branch.
object
Branch is the Neon branch; empty is the project’s default branch.
Region is a data residency hint mapped to a region class.
S3Connection is a bucket.
object
Bucket is the S3 bucket name.
Endpoint is an S3-compatible endpoint (https).
Prefix limits the Connection to keys under it; empty is the whole bucket.
Region is the bucket’s region.
Scope is Read, Write or ReadWrite for database types.
Secret names the credential Secret; not for GitHub.
Type is Postgres, Neon, Supabase, WandB, GitHub or S3; immutable.
WandBConnection is a W&B entity and project.
object
Entity is the W&B user or team.
Live adds run links and WANDB_* env to attached Jobs.
Project is the W&B project runs are logged to.
ConnectionStatus is the last verification.
object
Conditions carry Verified.
object
EgressHosts are pinned hosts added to the egress allowlist of objects that attach it.
ExternalID is the AWS external id an S3 Connection’s role trust policy must require; Nodus derives it from the Connection and sends it on every AssumeRole.
GitHubInstallation is a GitHub App installation.
object
Account is the GitHub user or organization that installed the App.
InstallationID is GitHub’s id of the installation.
Repositories are the first repositories the installation can see, as owner/name.
InstallURL opens the GitHub App install while a GitHub Connection is Pending.
LastVerifiedTime is the last verification.
Message is a scrubbed explanation.
ObservedGeneration is the spec generation the status reflects.
Phase is Pending, Ready (the last verification passed) or Failed.
Reason is VerificationFailed or InstallationRemoved.
object
object
Example generated
{ "apiVersion": "example", "items": [ { "apiVersion": "example", "kind": "example", "metadata": { "annotations": { "additionalProperty": "example" }, "creationTimestamp": "example", "deletionGracePeriodSeconds": 1, "deletionTimestamp": "example", "finalizers": [ "example" ], "generateName": "example", "generation": 1, "labels": { "additionalProperty": "example" }, "managedFields": [ { "apiVersion": "example", "fieldsType": "example", "fieldsV1": { "additionalProperty": "example" }, "manager": "example", "operation": "example", "subresource": "example", "time": "example" } ], "name": "example", "namespace": "example", "ownerReferences": [ { "apiVersion": "example", "blockOwnerDeletion": true, "controller": true, "kind": "example", "name": "example", "uid": "example" } ], "resourceVersion": "example", "selfLink": "example", "uid": "example" }, "spec": { "neon": { "branch": "example" }, "region": "example", "s3": { "bucket": "example", "endpoint": "example", "prefix": "example", "region": "example" }, "scope": "example", "secret": "example", "type": "example", "wandb": { "entity": "example", "live": true, "project": "example" } }, "status": { "conditions": [ { "lastTransitionTime": "example", "message": "example", "observedGeneration": 1, "reason": "example", "status": "example", "type": "example" } ], "egressHosts": [ "example" ], "externalId": "example", "github": { "account": "example", "installationId": 1, "repositories": [ "example" ] }, "installURL": "example", "lastVerifiedTime": "example", "message": "example", "observedGeneration": 1, "phase": "example", "reason": "example" } } ], "kind": "example", "metadata": { "continue": "example", "remainingItemCount": 1, "resourceVersion": "example", "selfLink": "example", "shardInfo": { "selector": "example" } }}default
Section titled “ default ”An error: a metav1.Status whose reason is a registered code.
Status is the error body of every API response: a Kubernetes metav1.Status (so kubectl and client-go understand it) plus three top-level extensions that those clients ignore (ADR-028).
object
object
object
Docs is the URL of the code’s docs page.
Fix says what to do next, for example a CLI command or the field to change.
object
object
RequestID identifies the request in logs and support tickets.
Example generated
{ "apiVersion": "example", "code": 1, "details": { "causes": [ { "field": "example", "message": "example", "reason": "example" } ], "group": "example", "kind": "example", "name": "example", "retryAfterSeconds": 1, "uid": "example" }, "docs": "example", "fix": "example", "kind": "example", "message": "example", "metadata": { "continue": "example", "remainingItemCount": 1, "resourceVersion": "example", "selfLink": "example", "shardInfo": { "selector": "example" } }, "reason": "example", "requestId": "example", "status": "example"}