POST
/
o
/
{organisation_id}
/
connections
/
{connection_id}
/
versions
/
{version}
/
definitions
curl --request POST \
  --url https://platform.versori.com/api/connect/v1alpha1/o/{organisation_id}/connections/{connection_id}/versions/{version}/definitions \
  --header 'Content-Type: application/json' \
  --data '{
  "definitions": [
    {
      "accept": [
        "<string>"
      ],
      "description": "<string>",
      "name": "<string>",
      "schema": {
        "content": "<string>",
        "contentType": "application/schema+json"
      }
    }
  ]
}'
{
  "definitions": [
    {
      "id": "<string>",
      "accept": [
        "<string>"
      ],
      "description": "<string>",
      "name": "<string>",
      "referencedBy": [
        {
          "id": "<string>",
          "name": "<string>",
          "type": "definition"
        }
      ],
      "url": "<string>"
    }
  ]
}

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.

version
string
required

Version is the version name of the Connection to retrieve. The reserved names "latest" and "default" may be used to retrieve the latest version or the default version respectively.

Body

application/json
definitions
object[]
required

Response

201 - application/json
definitions
object[]
required