PUT
/
o
/
{organisation_id}
/
connections
/
{connection_id}

Authorizations

cookie
string
cookierequired

Cookie authentication used by the Versori Platform.

Path Parameters

organisation_id
string
required
connection_id
string
required

ID is the unique identifier of the Connection.

Body

application/json
id
string
required

ID is the unique identifier of the Connection.

organisationId
string
required

OrganisationID is the unique identifier of the Organisation that owns the Connection.

name
string
required

Name is the user-provided name of the Connection

protocol
enum<string>
required

ProtocolType denotes the set of all valid connection types.

Available options:
http,
bigquery
authSchemeConfigs
object[]

AuthSchemeConfigs, if set, will overwrite the existing list of auth scheme configs with the provided array. This will not affect any existing Environments since they store a copy of the Auth Scheme on creation. In order to update an Environment with an updated Auth Scheme, the user should update the Credential directly.

authSchemeConfigs.schemeType
string
required
Allowed value: "none"
environments
object[]

Environments, if set, will overwrite the existing list of environments with the provided array. This array can only specify existing environments (without edits) or new environments. This is useful for replacing an existing Environment with a new one, or reordering. It's recommended to use the UpdateEnvironment operation to update a single environment.

environments.id
string
required

ID is the unique identifier of the Environment. Typically this is only used internally and most (if not all) public-facing APIs will use the name in combination with the Connection's id instead.

environments.name
string
required

Name is the new name of the Environment.

environments.credentials
object

EnvironmentCredentialsUpdate defines the Action and Trigger credentials for the owning Connection.

Only the order and the AuthSchemeConfig of each EnvironmentCredential can be updated. To update the underlying Credential, the UpdateCredential operation should be used.

environments.variables
object[]

Variables, if set, will replace the existing variables in the Environment. Setting to an empty array will delete all variables. Omitting this field will leave the existing variables unchanged.

baseUrl
string
required

BaseURL is the base URL of all HTTP Actions within the Connection.

environmentVariables
object[]

EnvironmentVariables, if set, will overwrite the existing list of environment variables or create new ones with the provided array. This action will be performed on all the connection environments as well.

environmentVariables.name
string
required

Name is the name of the environment variable.

environmentVariables.value
string
required

Value is the value of the environment variable.

Response

200 - application/json
id
string
required

ID is the unique identifier of the Connection.

organisationId
string
required

OrganisationID is the unique identifier of the Organisation that owns the Connection.

name
string
required

Name is the user-provided name of the Connection

protocol
enum<string>
required

ProtocolType denotes the set of all valid connection types.

Available options:
http,
bigquery
authSchemeConfigs
object[]
authSchemeConfigs.schemeType
string
required
Allowed value: "none"
environmentVariables
object[]

Environment Variables is a list of default variables initialised in every connection environment.

environmentVariables.name
string
required

Name is the name of the environment variable.

environmentVariables.value
string
required

Value is the value of the environment variable.

environments
object[]
required

Environments is a list of all the environments this Connection has.

environments.id
string
required

ID is the unique identifier of the Environment. Typically this is only used internally and most (if not all) public-facing APIs will use the name in combination with the Connection's id instead.

environments.name
string
required

Name is the name of the Environment. This must be unique within the owning Connection.

environments.credentials
object
required

EnvironmentCredentials defines the Action and Trigger credentials for the owning Connection. If multiple credentials are defined for each type, they are applied to the request in the order they are defined. This is to enable Connections which require both a user session token and an API key to be provided in the request.

environments.variables
object[]
required
environments.createdAt
string
required

CreatedAt is the time the Environment was created.

environments.updatedAt
string
required

UpdatedAt is the time the Environment was last updated.

versions
object[]

Versions is a list of all the versions this Connection has.

versions.id
string
required

ID is the unique identifier of the ConnectionVersion, this is typically only used internally and the version name is used externally in combination with the Connection id.

versions.name
string
required

Name denotes the actual version value for the Connection. This can be any value but a consistent naming strategy is recommended, such as SemVer, CalVer or an incrementing number. The names "default" and "latest" are reserved words and cannot be used.

versions.description
string

Description allows specifying additional information about the ConnectionVersion, such as what changed since the last version etc.

versions.isLatest
boolean
required

IsLatest denotes whether this is the latest version of the Connection.

versions.isDefault
boolean
required

IsDefault denotes whether this is the default version of the Connection.

versions.createdAt
string
required

CreatedAt is the time at which the ConnectionVersion was created.

versions.updatedAt
string
required

UpdatedAt is the time at which the ConnectionVersion was last updated, including any changes to child resources.

versions.publishedAt
string | null
required

PublishedAt is the time at which the ConnectionVersion was published.

createdAt
string
required

CreatedAt is the time at which the ConnectionVersion was created.

updatedAt
string
required

UpdatedAt is the time at which the ConnectionVersion was last updated, including any changes to child resources.

baseUrl
string
required

BaseURL is the base URL of all HTTP Actions within the Connection.