Create stack connection
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the organization
The name of the project
The id of record
Body
A user-authored topology edge between two nodes in a stack.
The relationship type. env injects values into environment variables, volume_mount mounts a volume into a resource, and build_artifact_source seeds a volume from build output.
env, volume_mount, build_artifact_source Identifies a topology node within the stack graph.
Identifies a topology node within the stack graph.
Stable connection identifier. Generated when omitted.
Target/value mappings for kinds that move values, such as env.
Kind-specific connection configuration. The shape depends on the connection kind and source type: use PostgresEnvConfig when kind is env and from.type is addon/postgres, VolumeMountConfig when kind is volume_mount, and BuildArtifactSourceConfig when kind is build_artifact_source. Omit config entirely for env connections from stack_resource or secret sources.
- Option 1
- Option 2
- Option 3
Response
Stack connection created successfully
A user-authored topology edge between two nodes in a stack.
The relationship type. env injects values into environment variables, volume_mount mounts a volume into a resource, and build_artifact_source seeds a volume from build output.
env, volume_mount, build_artifact_source Identifies a topology node within the stack graph.
Identifies a topology node within the stack graph.
Stable connection identifier. Generated when omitted.
Target/value mappings for kinds that move values, such as env.
Kind-specific connection configuration. The shape depends on the connection kind and source type: use PostgresEnvConfig when kind is env and from.type is addon/postgres, VolumeMountConfig when kind is volume_mount, and BuildArtifactSourceConfig when kind is build_artifact_source. Omit config entirely for env connections from stack_resource or secret sources.
- Option 1
- Option 2
- Option 3