secure

Multiple Targets Dry Run

Changed on

Tests connection to the target database(s).

post/api/v1/pipelines/targets/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/targets/dry-run
  • Auth
    HTTP bearer

Request body

object required

Example request

{
  "targets": {
    "target-one": {
      "type": "redis",
      "host": "${HOST_IP}",
      "port": 12000
    },
    "target-two": {
      "type": "redis",
      "host": "${HOST_IP}",
      "port": 12002,
      "password": "${TARGET_DB_PASSWORD}"
    }
  }
}

Response

Successful Response

targetsobject required

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added to the // response property anyOf list for the response status

    • info

      removed from the // response property anyOf list for the response 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