POST
/
o
/
{organisation_id}
/
connections
/
{connection_id}
/
versions
curl --request POST \
  --url https://platform.versori.com/api/connect/v1alpha1/o/{organisation_id}/connections/{connection_id}/versions \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "fromVersion": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "isLatest": true,
  "isDefault": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "publishedAt": "2023-11-07T05:31:56Z"
}

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
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.

fromVersion
string

FromVersion is the name of another ConnectionVersion from which this ConnectionVersion should be created. If this is not provided then the ConnectionVersion will be created from scratch with no child resources (i.e. Actions, Definitions etc.).

Response

201 - application/json
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.

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.

description
string

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

isLatest
boolean
required

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

isDefault
boolean
required

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

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.

publishedAt
string | null
required

PublishedAt is the time at which the ConnectionVersion was published.