web_backend

Update a connection

Changed on
post/v1/web_backend/connections/updateNew

Request

  • Base URL: http://localhost:8000/api
  • URL: http://localhost:8000/api/v1/web_backend/connections/updateNew
  • Auth: none required

Request body

namestring

Name that will be set to the connection

connectionIdstring uuid required
namespaceDefinition'source' | 'destination' | 'customformat'

Method used for computing final namespace in destination

namespaceFormatstring

Used when namespaceDefinition is 'customformat'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'.

prefixstring

Prefix that will be prepended to the name of each stream when it is written to the destination.

operationIdsOperationId[]
status'active' | 'inactive' | 'deprecated' required

Active means that data is flowing through the connection. Inactive means it is not. Deprecated means the connection is off and cannot be re-activated. the schema field describes the elements of the schema that will be synced.

withRefreshedCatalogboolean
skipResetboolean
sourceCatalogIdstring uuid

Example request

{
  "namespaceFormat": "${SOURCE_NAMESPACE}"
}

Response

Successful operation

connectionIdstring uuid required
namestring required
namespaceDefinition'source' | 'destination' | 'customformat'

Method used for computing final namespace in destination

namespaceFormatstring

Used when namespaceDefinition is 'customformat'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'.

prefixstring

Prefix that will be prepended to the name of each stream when it is written to the destination.

sourceIdstring uuid required
destinationIdstring uuid required
status'active' | 'inactive' | 'deprecated' required

Active means that data is flowing through the connection. Inactive means it is not. Deprecated means the connection is off and cannot be re-activated. the schema field describes the elements of the schema that will be synced.

operationIdsOperationId[]
latestSyncJobCreatedAtinteger

epoch time of the latest sync job. null if no sync job has taken place.

latestSyncJobStatus'pending' | 'running' | 'incomplete' | 'failed' | 'succeeded' | 'cancelled'
isSyncingboolean required
catalogIdstring uuid

Example response

{
  "namespaceFormat": "${SOURCE_NAMESPACE}",
  "source": {
    "connectionConfiguration": {
      "user": "charles"
    }
  },
  "destination": {
    "connectionConfiguration": {
      "user": "charles"
    }
  }
}

Changes