AdminRest API documentation update

Hello folks,

I wanted to contribute by pointing out an error in the Sync Gateway documentation, specifically in the “Start or Stop Resync” section.

The error is in the request sample:

When I tested this endpoint, it failed because scopeName should be a list of strings, not a map as shown in the sample.

I’ve noticed that this is correctly documented within the Sync Gateway repository’s own documentation at main branch:

I’m posting this because the discrepancy can be a bit confusing.

Thanks, and if there’s anything else I can do, I’m open to contributing.
Regards,

Thanks. If you go to tbe Leave Additional Feedback on the right of that page it will open a document ticket. Just put the link to this forum post in it so you don’t have to repeat your explanation.