Skip to content

modify revs_limit API docs#7786

Merged
bbrks merged 2 commits intomainfrom
revs-limit
Oct 2, 2025
Merged

modify revs_limit API docs#7786
bbrks merged 2 commits intomainfrom
revs-limit

Conversation

@torcolvin
Copy link
Collaborator

  • Since allow_conflicts is no longer allowed, the default is just 50 for revs limit.

Example fixes, some much older. These are only the ones that were obvious to me:

  • switch num_index_replicas to index.num_replicas
  • remove allow_conflicts option
  • remove enable_shared_bucket_access option
  • switch server connection string from http:// to couchbase://

Copilot AI review requested due to automatic review settings October 2, 2025 01:13
Copy link
Contributor

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

This PR updates legacy and database configuration examples to reflect deprecated API changes, specifically removing the allow_conflicts parameter and updating related configurations. The primary change involves updating documentation for the revs_limit API to reflect that the default is now 50 rather than different values based on conflict allowance.

  • Removes deprecated allow_conflicts and revs_limit configurations from example files
  • Updates server connection strings from http:// to couchbase:// protocol
  • Modernizes index configuration from num_index_replicas to index.num_replicas structure

Reviewed Changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated no comments.

File Description
examples/legacy_config/*.json Removes allow_conflicts and revs_limit parameters from legacy configuration examples
examples/database_config/*.json Updates num_index_replicas to index.num_replicas structure and removes deprecated parameters
docs/api/components/schemas.yaml Updates revs_limit documentation to reflect simplified default value of 50

@github-actions
Copy link

github-actions bot commented Oct 2, 2025

Redocly previews

@torcolvin torcolvin requested a review from bbrks October 2, 2025 14:30
@bbrks bbrks merged commit b4954ef into main Oct 2, 2025
28 checks passed
@bbrks bbrks deleted the revs-limit branch October 2, 2025 18:56
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