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

Feature Request - Add show_exp parameter to _all_docs endpoint #4991

Open
abrioy opened this issue Apr 30, 2021 · 0 comments
Open

Feature Request - Add show_exp parameter to _all_docs endpoint #4991

abrioy opened this issue Apr 30, 2021 · 0 comments

Comments

@abrioy
Copy link

abrioy commented Apr 30, 2021

Sync Gateway version

2.8.2

Feature Request

There is currently no way to fetch the _exp property of a document with the /{db}/_all_docs REST API.
The property is currently only accessible from /{db}/{doc} with show_exp=true. (This flag also exists in /{db}/_bulk_get but it's undocumented.)

It would be great to be able to fetch with field directly with the _all_docs API call.

@abrioy abrioy changed the title Feature Request - Add show_exp parameter to _all_docs endpoint Feature Request - Add show_exp parameter to _all_docs endpoint Apr 30, 2021
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

No branches or pull requests

1 participant