Skip to content

get_replication_configuration

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

(GET)/replication/config

Description

Gets the replication configuration parameters for all systems or the system specified by system ID.

Request

Syntax

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

Parameters

&sid - get attributes for the specified system

Response

200 success

Parameters

Response

200 success

Parameters

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 |

Examples

Sample Request

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

Sample Response

{
    "config": [
        {
             "max_concurrent": 2,
             "report_mail_to": "joe@acme.com, fred@google.com",
             "report_time: "09:00 am",
             "strategy": "Recency",
             "queue_scheme": 1
        }
    ]
}

Clone this wiki locally