-
Notifications
You must be signed in to change notification settings - Fork 3
get_replication_configuration
Alberto Gonzalez edited this page Oct 29, 2015
·
1 revision
Gets the replication configuration parameters for all systems or the system specified by system ID.
GET /api/replication/config/?sid={sid}
Host: <server host name>
Accept: application/json
AuthToken: <authentication token returned from authenticate>
&sid - get attributes for the specified system
200 success
200 success
| Index | Value | Type | Returned |
|---|---|---|---|
| max_concurrent | maximum number of concurrent replications | long | always |
| report_mail_to | list of addresses to which report is to be sent | string | always, may be "" |
- | 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 | always strategy | the queue strategy, either | string | always | Manual | | Maximum Retention | | Recency | queue_scheme | an internal numeric representation of the strategy | long | always | 0 = Manual | | 1 = Maximum Retention | | 2 = Recency |
GET /api/replication/config/?sid=1
Host: <server host name>
Accept: application/json
AuthToken: 8a00sjerhterqerjlqkjlk443l4j56869h4f_)(fjdkasHHHHHkdal324
{
"config": [
{
"max_concurrent": 2,
"report_mail_to": "joe@acme.com, fred@google.com",
"report_time: "09:00 am",
"strategy": "Recency",
"queue_scheme": 1
}
]
}