Get Pairings

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Returns the list of target-paired JPDs for a given use case.

Since: 7.29.7

Authorization: Requires admin permissions.

Usage: GET /<svc>/api/v1/service_trust/pairings/{use-case}

Note

  • use_case= the use case for which to get the pairings

  • base_url = the base URL of the target, as provided in the pairing token

Content-Type: application/json

Produces: application/json

Sample Usage:

GET /<svc>/api/v1/service_trust/pairings/{use-case}

200
[
  {
    "base_url": "<base-url>"
  }, ...
]

Success Response Codes:

200 OK response with an empty list in case there are no paired targets for the given use case

Error Response Codes:

404 Not found - the specified use case is unknown to the service