secure

Single Target Dry Run

Changed on

Tests connection by name to the target database.

post/api/v1/pipelines/target/dry-run

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/pipelines/target/dry-run
  • Auth
    HTTP bearer

Request body

object required

Example request

{
  "type": "redis",
  "host": "${HOST_IP}",
  "port": 12002
}

Response

Successful Response

connectedboolean required
errorstring required
invalid_propertiesobject nullable

Map of invalid property names to their specific error messages

Example response

{
  "invalid_properties": {
    "database.hostname": "Unable to connect: Communications link failure"
  }
}

Changes

    • info

      added the non-success response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      removed the non-success response with the status

    • info

      added the optional property to the response with the status