Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve changes feed API documentation #4950

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

nickva
Copy link
Contributor

@nickva nickva commented Jan 5, 2024

  • Remove redundant mention of _changes resource since it's already describing that resource.

  • Explicitly enumerate all filter parameter options with references to doc section below for each.

  • Explain the unexpected interaction between include_docs, all_docs style and filtering, how the winning document body is returned even if it doesn't pass the filtering criteria.

  • Update POST _changes doc to say that besides doc_ids it is used for selector filtering. Also, add an example of using a selector.

  * Remove redundant mention of `_changes resource` since it's already
    describing that resource.

  * Explicitly enumerate all `filter` parameter options with references to doc
    section below for each.

  * Explain the unexpected interaction between ``include_docs``, ``all_docs``
    style and filtering, how the winning document body is returned even if it
    doesn't pass the filtering criteria.

  * Update `POST _changes` doc to say that besides `doc_ids` it is used for
    selector filtering. Also, add an example of using a selector.
Copy link
Contributor

@jiahuili430 jiahuili430 left a comment

Choose a reason for hiding this comment

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

Thank you for updating the documentation on _changes behavior.

@nickva nickva merged commit 5f2ddef into main Jan 5, 2024
6 checks passed
@nickva nickva deleted the documentation-changes-filter-include-doc branch January 5, 2024 19:33
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.

None yet

2 participants