api: simplify query parameter passing
This keeps the `Pairs` type out of the API (which was forwarded from a dependent crate) and allows for chaining usage for endpoint implementations.
This keeps the `Pairs` type out of the API (which was forwarded from a dependent crate) and allows for chaining usage for endpoint implementations.