diff --git a/modules/rest-api/pages/rest-xdcr-adv-settings.adoc b/modules/rest-api/pages/rest-xdcr-adv-settings.adoc index e8165e5a18..a772c2536b 100644 --- a/modules/rest-api/pages/rest-xdcr-adv-settings.adoc +++ b/modules/rest-api/pages/rest-xdcr-adv-settings.adoc @@ -96,7 +96,7 @@ Commands for establishing or retrieving either global settings or the settings f Failure to authenticate returns `401 Unauthorized`. A URI featuring an incorrect hostname or port returns a `failure to connect` message. -An incorrect `settings_URI` returns `400 Bad Request`, and an object such as `{"errors":{"_":"requested resource not found"}}`. +An incorrect `settings_URI` returns `404 Object Not Found`, and an object such as `{"_":"requested resource not found"}`. An attempt to set a global-only setting for a specific replication returns `400 Bad Request`, and an object indicating which submitted parameters were incorrect. For example, the attempted use of `POST /settings/replications/` to establish values for `goGC` and `goMaxProcs` returns the following: @@ -792,4 +792,4 @@ This setting can be established and retrieved either for an individual replicati The REST call for creating a replication and specifying parameters is described in xref:rest-api:rest-xdcr-create-replication.adoc[Creating a Replication]. An overview of XDCR is provided in xref:learn:clusters-and-availability/xdcr-overview.adoc[Cross Data Center Replication (XDCR)]. -The subset of advanced settings that can be configured by means of Couchbase Web Console is provided at xref:xdcr-reference:xdcr-advanced-settings.adoc[XDCR Advanced Settings]. \ No newline at end of file +The subset of advanced settings that can be configured by means of Couchbase Web Console is provided at xref:xdcr-reference:xdcr-advanced-settings.adoc[XDCR Advanced Settings]. diff --git a/modules/rest-api/pages/rest-xdcr-delete-ref.adoc b/modules/rest-api/pages/rest-xdcr-delete-ref.adoc index e48ecfbd19..8c94b8bd80 100644 --- a/modules/rest-api/pages/rest-xdcr-delete-ref.adoc +++ b/modules/rest-api/pages/rest-xdcr-delete-ref.adoc @@ -39,6 +39,7 @@ An attempt to delete a reference that supports a current, ongoing replication re An improperly specified URI returns `405 Method Not Allowed`. Failure to authenticate returns `401 Unauthorized`. +Attempt to delete a reference to a cluster name that doesn't exist returns `404 Object Not Found`. == Example diff --git a/modules/rest-api/pages/rest-xdcr-delete-replication.adoc b/modules/rest-api/pages/rest-xdcr-delete-replication.adoc index 4810868db0..a7cc0cfddc 100644 --- a/modules/rest-api/pages/rest-xdcr-delete-replication.adoc +++ b/modules/rest-api/pages/rest-xdcr-delete-replication.adoc @@ -31,7 +31,7 @@ curl -v -X DELETE -u : == Responses -Failure to specify the `replication_id` correctly returns `400 Bad Request` and the following error message: `{"errors":{"_":"requested resource not found"}}`. +Failure to specify the `replication_id` correctly returns `404 Object Not Found` and the following error message: `{"_":"requested resource not found"}`. Failure to authenticate returns `401 Unauthorized`. == Example