Define a New Bridge

Description: Define a new JFrog bridge connection between JPDs. After successful creation, the bridge is active.

Related Documentation: You can Add a JFrog Bridge in the JFrog Platform interface.

Security: Requires a valid admin token

Usage:

    POST https://{{bridge_client_BaseURL}}/bridge-client/api/v1/bridges

Request payload:

{
  "bridge_id": "",
  "remote": "",
  "local": "",
  "pairing_token": ""
}

where

bridge_id is the unique identifier of the new Bridge.

remote is the URL of the SaaS JPD that is the Bridge Server

local is the URL of the Bridge Client on the local JPD

pairing_token is a valid pairing token generated on the Bridge Server JPD

Content-Type: application/json

Produces: application/json

Response status codes:

201- Success

400- Failed

401- Unauthorized user

403- Action not permitted for this account