Voucher API: Add search parameter (Z#23240589)

This commit is contained in:
Raphael Michel
2026-09-04 17:50:06 +02:00
parent dc7d5c6029
commit 61b6b51c1f
3 changed files with 14 additions and 0 deletions
+1
View File
@@ -116,6 +116,7 @@ Endpoints
:query integer page: The page number in case of a multi-page result set, default is 1
:query string code: Only show the voucher with the given voucher code.
:query string search: Only show the voucher with the given query found in the code, tag, or comment.
:query integer max_usages: Only show vouchers with the given maximal number of usages.
:query integer redeemed: Only show vouchers with the given number of redemptions. Note that this doesn't tell you if
the voucher can still be redeemed, as this also depends on ``max_usages``. See the