rule.py

GET /rules

get rule information for given rule id.

Example request:

GET /rules HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: 'application/json'
Status Codes:
PUT /rules
Update the replication rules locked flag .

Example request:

PUT /rules HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type:
Status Codes:
POST /rules
Create a new replication rule.

Example request:

POST /rules HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type:
Status Codes:
DELETE /rules
Delete a new replication rule.

Example request:

DELETE /rules HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type:
Status Codes:
GET /rules

get locks for a given rule_id.

Example request:

GET /rules HTTP/1.1

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: 'application/x-json-stream'
Status Codes: