Skip to content

put_replication_configuration

Alberto Gonzalez edited this page Oct 29, 2015 · 1 revision

(PUT)/replication/config

Description

Updates the specified replication configuration attributes on the specified system.

Request

Syntax

PUT /api/replication/config/?sid=4
Host: <server host name>
Accept: application/json
AuthToken: <authentication token returned from authenticate>

Parameters

None.

/?sid={sid} - set the replication configuration attributes for the specified system.

The API accepts in the data an object with the replication parameters to update.

Index Value Type Required
max_concurrent maximum number of concurrent replications long optional
report_mail_to list of addresses to which report is to be sent string optional, may be "" to remove all
  • | the list is comma-separated if more than one address is provided | report_time | the formatted time of day for the report to be created, in "hh:mm" | string | optional queue_value | long representation for the queue scheme as returned by GET /api/replication/config | long | optional

Response

200 success

Parameters

Examples

Sample Request

PUT /api/replication/config/?sid=1
Host: <server host name>
Accept: application/json
AuthToken: 8a00sjerhterqerjlqkjlk443l4j56869h4f_)(fjdkasHHHHHkdal324

and data

{
  "max_concurrent": 5
}

Sample Response

HTTP Status: 200 (OK)

Failed replication configuration attribute changes will return HTTP Status 500 with a result object with an error message and KB link as defined here

Clone this wiki locally