Order API: Add `exclude` query parameter

This commit is contained in:
Raphael Michel
2020-08-21 18:38:24 +02:00
parent 606d13e303
commit a2eb4444b4
3 changed files with 26 additions and 10 deletions
+5
View File
@@ -159,6 +159,10 @@ last_modified datetime Last modificati
The ``search`` query parameter has been added.
.. versionchanged:: 3.11
The ``exclude`` query parameter has been added.
.. _order-position-resource:
@@ -485,6 +489,7 @@ List of all orders
recommend using this in combination with ``testmode=false``, since test mode orders can vanish at any time and
you will not notice it using this method.
:query datetime created_since: Only return orders that have been created since the given date.
:query string exclude: Exclude a field from the output, e.g. ``fees`` or ``positions.downloads``. Can be used as a performance optimization. Can be passed multiple times.
:param organizer: The ``slug`` field of the organizer to fetch
:param event: The ``slug`` field of the event to fetch
:resheader X-Page-Generated: The server time at the beginning of the operation. If you're using this API to fetch