Replication

Create a replication rule

Changed on

Create a replication rule

post/replication/rules

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/replication/rules
  • Auth: none declared

Query parameters

space_refstring

Unique path identifier for the final space in the branch. The value can be provided either as a fully URL-encoded path (e.g., organization%2Fproject) or as a plain path ending with a trailing plus sign (+) as separator (e.g., organization/project/+).

Request body

sourceType'Local' | 'Jfrog' | 'GCP' required
destinationType'Local' | 'Jfrog' | 'GCP' required
allowedPatternsstring[] required
blockedPatternsstring[] required

Response

Response for replication rule update

status'SUCCESS' | 'FAILURE' | 'ERROR' required

Indicates if the request was successful or not

Changes