Replications
/api/v2/replicationsList all replications
Parameters
Query parameters
orgID
required
stringname
stringremoteID
stringlocalBucketID
stringHeader parameters
Zap-Trace-Span
stringcurl --request GET \
"http://localhost:8086/api/v2/replications?orgID=ORGID" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
replications
object[]code
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
string/api/v2/replicationsRegister a new replication
Parameters
Query parameters
validate
booleanHeader parameters
Zap-Trace-Span
stringRequest body required
application/jsondescription
stringdropNonRetryableData
booleanlocalBucketID
required
stringmaxAgeSeconds
required
integer <int64>604800maxQueueSizeBytes
required
integer <int64>67108860name
required
stringorgID
required
stringremoteBucketID
stringremoteBucketName
stringremoteID
required
stringcurl --request POST \
"http://localhost:8086/api/v2/replications" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{
"description": "DESCRIPTION",
"dropNonRetryableData": false,
"localBucketID": "LOCALBUCKETID",
"maxAgeSeconds": 604800,
"maxQueueSizeBytes": 67108860,
"name": "NAME",
"orgID": "ORGID",
"remoteBucketID": "REMOTEBUCKETID",
"remoteBucketName": "REMOTEBUCKETNAME",
"remoteID": "REMOTEID"
}'Responses
currentQueueSizeBytes
integer <int64>description
stringdropNonRetryableData
booleanid
required
stringlatestErrorMessage
stringlatestResponseCode
integerlocalBucketID
required
stringmaxQueueSizeBytes
required
integer <int64>name
required
stringorgID
required
stringremainingBytesToBeSynced
integer <int64>remoteBucketID
stringremoteBucketName
stringremoteID
required
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
string/api/v2/replications/{replicationID}Retrieve a replication
Parameters
Path parameters
replicationID
required
stringHeader parameters
Zap-Trace-Span
stringcurl --request GET \
"http://localhost:8086/api/v2/replications/{replicationID}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
currentQueueSizeBytes
integer <int64>description
stringdropNonRetryableData
booleanid
required
stringlatestErrorMessage
stringlatestResponseCode
integerlocalBucketID
required
stringmaxQueueSizeBytes
required
integer <int64>name
required
stringorgID
required
stringremainingBytesToBeSynced
integer <int64>remoteBucketID
stringremoteBucketName
stringremoteID
required
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
string/api/v2/replications/{replicationID}Update a replication
Parameters
Path parameters
replicationID
required
stringQuery parameters
validate
booleanHeader parameters
Zap-Trace-Span
stringRequest body required
application/jsondescription
stringdropNonRetryableData
booleanmaxAgeSeconds
integer <int64>maxQueueSizeBytes
integer <int64>name
stringremoteBucketID
stringremoteBucketName
stringremoteID
stringcurl --request PATCH \
"http://localhost:8086/api/v2/replications/{replicationID}" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{
"description": "DESCRIPTION",
"dropNonRetryableData": false,
"maxAgeSeconds": 0,
"maxQueueSizeBytes": 0,
"name": "NAME",
"remoteBucketID": "REMOTEBUCKETID",
"remoteBucketName": "REMOTEBUCKETNAME",
"remoteID": "REMOTEID"
}'Responses
currentQueueSizeBytes
integer <int64>description
stringdropNonRetryableData
booleanid
required
stringlatestErrorMessage
stringlatestResponseCode
integerlocalBucketID
required
stringmaxQueueSizeBytes
required
integer <int64>name
required
stringorgID
required
stringremainingBytesToBeSynced
integer <int64>remoteBucketID
stringremoteBucketName
stringremoteID
required
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
string/api/v2/replications/{replicationID}Delete a replication
Parameters
Path parameters
replicationID
required
stringHeader parameters
Zap-Trace-Span
stringcurl --request DELETE \
"http://localhost:8086/api/v2/replications/{replicationID}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
code
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
string/api/v2/replications/{replicationID}/validateValidate a replication
Parameters
Path parameters
replicationID
required
stringHeader parameters
Zap-Trace-Span
stringcurl --request POST \
"http://localhost:8086/api/v2/replications/{replicationID}/validate" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
code
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringWas this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.