Activate the standby database
Request
HTTP Method: POST
Content Type: application/json
Parameters
Property | Type | Description | Required |
---|---|---|---|
| integer(int64) | configuration ID (non-negative) | required |
| string | Standby Update Delay only: SCN of log boundary to activate at; "earliest" to roll forward as little as possible to reach a log boundary; "latest" to roll forward to latest SCN available, irrespective of Standby Update Delay; default is to apply available logs, respecting Standby Update Delay |
|
| string map | optional script or scripts to execute after activation on primary or standby host (key must be primary or standby host; value must be an existing user script) |
|
{ "params": { "activate_point": "string", "configuration_id": 1, "user_script": { "host1": "/usr/local/bin/script" } } }
Response
HTTP Status: 200
Content Type: application/json
Response
Property | Type | Description |
---|---|---|
| object of type | error response |
| object of type |
|
| boolean | response with error or not |
error_response
Property | Type | Description |
---|---|---|
| string | error message |
task_response
Property | Type | Description |
---|---|---|
| integer(int64) | task ID |
{ "error": { "message": "string" }, "result": { "task_id": 1 }, "successful": true }
HTTP Status: 400
Content Type: application/json
Response
Property | Type | Description |
---|---|---|
| object of type | error response |
| boolean | always false |
error_response
Property | Type | Description |
---|---|---|
| string | error message |
{ "error": { "message": "string" }, "successful": false }
Comments