Connections

Create connection environments

Changed on
post/api/v1/connection-environments

Request

  • Base URL
    https://omniapp.co (the document declares no server; this is the origin it was published from)
  • URL
    https://omniapp.co/api/v1/connection-environments
  • Auth
    HTTP bearer

Request body

baseConnectionIdstring uuid required

ID of the base connection

environmentConnectionIdsstring[] required

IDs of connections to use as environments

Example request

{
  "baseConnectionId": "550e8400-e29b-41d4-a716-446655440000",
  "environmentConnectionIds": [
    "550e8400-e29b-41d4-a716-446655440002",
    "550e8400-e29b-41d4-a716-446655440003"
  ]
}

Response

Connection environments created successfully

successboolean required

Whether the operation succeeded

Example response

{
  "data": [
    {
      "environmentConnectionId": "550e8400-e29b-41d4-a716-446655440002",
      "id": "550e8400-e29b-41d4-a716-446655440001"
    }
  ],
  "success": true
}

Changes

    • breaking

      the request property's minItems was increased to 1

    • breaking

      the / request property's minLength was increased from 0 to 1

    • breaking

      added the pattern \S to the request property /

    • breaking

      removed the required property from the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status