Connections
Connections: 7 operations, tagged connections in the OpenAPI document.
| Method | Path | Summary |
|---|---|---|
GET |
/api/connections |
List connections |
POST |
/api/connections |
Create a connection |
GET |
/api/connections/{id} |
Get a connection by id |
PUT |
/api/connections/{id} |
Update a connection |
DELETE |
/api/connections/{id} |
Delete a connection |
POST |
/api/connections/{id}/activate |
Activate a connection |
POST |
/api/connections/{id}/pause |
Pause a connection |
Operations
Section titled “Operations”GET /api/connections
Section titled “GET /api/connections”List connections
Operation ID: listConnections
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
status |
query | string | no | |
clientId |
query | string | no |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ConnectionListResponse |
default |
Error | application/json ErrorModel |
POST /api/connections
Section titled “POST /api/connections”Create a connection
Operation ID: createConnection
Request body (required)
| Content type | Schema |
|---|---|
application/json |
CreateConnectionRequest |
Responses
| Status | Description | Body |
|---|---|---|
201 |
Created | application/json ConnectionResponse |
default |
Error | application/json ErrorModel |
GET /api/connections/{id}
Section titled “GET /api/connections/{id}”Get a connection by id
Operation ID: getConnection
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ConnectionResponse |
default |
Error | application/json ErrorModel |
PUT /api/connections/{id}
Section titled “PUT /api/connections/{id}”Update a connection
Operation ID: updateConnection
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
UpdateConnectionRequest |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
DELETE /api/connections/{id}
Section titled “DELETE /api/connections/{id}”Delete a connection
Operation ID: deleteConnection
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
POST /api/connections/{id}/activate
Section titled “POST /api/connections/{id}/activate”Activate a connection
Operation ID: activateConnection
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ConnectionResponse |
default |
Error | application/json ErrorModel |
POST /api/connections/{id}/pause
Section titled “POST /api/connections/{id}/pause”Pause a connection
Operation ID: pauseConnection
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ConnectionResponse |
default |
Error | application/json ErrorModel |
Schemas
Section titled “Schemas”ConnectionListResponse
Section titled “ConnectionListResponse”| Field | Type | Required | Description |
|---|---|---|---|
connections |
ConnectionResponse[] |
yes | |
total |
integer (int64) | yes |
ConnectionResponse
Section titled “ConnectionResponse”| Field | Type | Required | Description |
|---|---|---|---|
applicationCode |
string | no | |
clientId |
string | no | |
clientIdentifier |
string | no | |
code |
string | yes | |
createdAt |
string (date-time) | yes | |
description |
string | no | |
externalId |
string | no | |
id |
string | yes | |
name |
string | yes | |
serviceAccountId |
string | yes | |
source |
string | yes | |
status |
string | yes | |
updatedAt |
string (date-time) | yes |
CreateConnectionRequest
Section titled “CreateConnectionRequest”| Field | Type | Required | Description |
|---|---|---|---|
applicationCode |
string | no | Optional application this connection belongs to. Omitted means shared (usable from any application). |
clientId |
string | no | |
code |
string | yes | Connection code (lowercase, alphanumeric, hyphens) |
description |
string | no | |
externalId |
string | no | |
name |
string | yes | |
serviceAccountId |
string | yes |
UpdateConnectionRequest
Section titled “UpdateConnectionRequest”| Field | Type | Required | Description |
|---|---|---|---|
applicationCode |
string | no | |
description |
string | no | |
externalId |
string | no | |
name |
string | yes | |
serviceAccountId |
string | no | |
status |
string | no |