Replication
List all replication rules
Reference to the scope in which the registry exists.
Response for list replication rules
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
GET /api/v1/replication/rules HTTP/1.1
Accept: */*
{
"data": {
"itemCount": 1,
"pageCount": 100,
"pageIndex": 0,
"pageSize": 10,
"rules": [
{
"allowedPatterns": [
"text"
],
"blockedPatterns": [
"text"
],
"createdAt": "text",
"destination": {
"registryIdentifier": "text"
},
"destinationType": "Local",
"identifier": "text",
"modifiedAt": "text",
"parentRef": "text",
"source": {
"registryIdentifier": "text"
},
"sourceType": "Local"
}
]
},
"status": "SUCCESS"
}Create a replication rule
Reference to the scope in which the registry exists.
Response for replication rule update
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
POST /api/v1/replication/rules HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 185
{
"allowedPatterns": [
"text"
],
"blockedPatterns": [
"text"
],
"destination": {
"registryIdentifier": "text"
},
"destinationType": "Local",
"source": {
"registryIdentifier": "text"
},
"sourceType": "Local"
}{
"data": {
"allowedPatterns": [
"text"
],
"blockedPatterns": [
"text"
],
"createdAt": "text",
"destination": {
"registryIdentifier": "text"
},
"destinationType": "Local",
"identifier": "text",
"modifiedAt": "text",
"parentRef": "text",
"source": {
"registryIdentifier": "text"
},
"sourceType": "Local"
},
"status": "SUCCESS"
}Get a replication rule
Response for replication rule update
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
GET /api/v1/replication/rules/{id} HTTP/1.1
Accept: */*
{
"data": {
"allowedPatterns": [
"text"
],
"blockedPatterns": [
"text"
],
"createdAt": "text",
"destination": {
"registryIdentifier": "text"
},
"destinationType": "Local",
"identifier": "text",
"modifiedAt": "text",
"parentRef": "text",
"source": {
"registryIdentifier": "text"
},
"sourceType": "Local"
},
"status": "SUCCESS"
}Update a replication rule
Response for replication rule update
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
PUT /api/v1/replication/rules/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 185
{
"allowedPatterns": [
"text"
],
"blockedPatterns": [
"text"
],
"destination": {
"registryIdentifier": "text"
},
"destinationType": "Local",
"source": {
"registryIdentifier": "text"
},
"sourceType": "Local"
}{
"data": {
"allowedPatterns": [
"text"
],
"blockedPatterns": [
"text"
],
"createdAt": "text",
"destination": {
"registryIdentifier": "text"
},
"destinationType": "Local",
"identifier": "text",
"modifiedAt": "text",
"parentRef": "text",
"source": {
"registryIdentifier": "text"
},
"sourceType": "Local"
},
"status": "SUCCESS"
}Delete a replication rule
Generic success response
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
DELETE /api/v1/replication/rules/{id} HTTP/1.1
Accept: */*
{
"status": "SUCCESS"
}List migration images given an id
Current page number
1Number of items per page
20sortOrder
sortField
Response for list migration images
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
GET /api/v1/replication/rules/{id}/migration/images HTTP/1.1
Accept: */*
{
"data": {
"images": [
{
"imageId": "text",
"imageTag": "text",
"progress": 1,
"status": "text"
}
],
"itemCount": 1,
"pageCount": 100,
"pageIndex": 0,
"pageSize": 1
},
"status": "SUCCESS"
}A plain text response
Hello, world!The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
GET /api/v1/replication/rules/{id}/migration/images/{image_id}/logs HTTP/1.1
Accept: */*
Hello, world!Start migration given an id
Generic success response
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
POST /api/v1/replication/rules/{id}/migration/start HTTP/1.1
Accept: */*
{
"status": "SUCCESS"
}Stop migration given an id
Generic success response
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
POST /api/v1/replication/rules/{id}/migration/stop HTTP/1.1
Accept: */*
{
"status": "SUCCESS"
}Last updated
Was this helpful?