Skip to content

DOC-14304-Update-XDCR-REST-API-docs-to-return-404#4119

Open
supritha-kumar wants to merge 4 commits into
release/8.1from
DOC-14304-DOC-14304-Update-XDCR-REST-API-docs-to-return-404
Open

DOC-14304-Update-XDCR-REST-API-docs-to-return-404#4119
supritha-kumar wants to merge 4 commits into
release/8.1from
DOC-14304-DOC-14304-Update-XDCR-REST-API-docs-to-return-404

Conversation

@supritha-kumar
Copy link
Copy Markdown
Contributor

@supritha-kumar supritha-kumar changed the title DOC-14304-DOC-14304-Update-XDCR-REST-API-docs-to-return-404 DOC-14304-Update-XDCR-REST-API-docs-to-return-404 May 18, 2026
@supritha-kumar supritha-kumar requested a review from hyunjuV May 18, 2026 16:15
Copy link
Copy Markdown
Contributor

@hyunjuV hyunjuV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates XDCR REST API documentation to reflect 404 Object Not Found responses (instead of 400 Bad Request) when XDCR resources are missing, aligning the documented behavior with DOC-14304.

Changes:

  • Update “delete replication” docs to document 404 Object Not Found for an invalid replication_id, including the updated error body format.
  • Update “advanced settings” docs to document 404 Object Not Found for an invalid settings_URI, including the updated error body format.
  • Add a 404 Object Not Found response case for deleting a non-existent remote cluster reference.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
modules/rest-api/pages/rest-xdcr-delete-replication.adoc Documents 404 Object Not Found (and updated error body) for invalid replication_id on delete replication.
modules/rest-api/pages/rest-xdcr-delete-ref.adoc Adds a documented 404 Object Not Found case when deleting a reference for a non-existent target cluster name.
modules/rest-api/pages/rest-xdcr-adv-settings.adoc Documents 404 Object Not Found (and updated error body) for invalid settings_URI and fixes formatting in “See Also”.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants