summaryrefslogtreecommitdiff
path: root/api-merchant.rst
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-12-14 19:41:12 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-12-14 19:41:12 +0100
commitd6c5eaa8b19a7d4cc108ffafd0691ad499238b84 (patch)
tree756486b13183d41a664429b07bdf188e7e5b9fb2 /api-merchant.rst
parent4007ecb6ddfaee26d2a8c9b53ca61198c6d5f3b1 (diff)
downloaddocs-d6c5eaa8b19a7d4cc108ffafd0691ad499238b84.tar.gz
docs-d6c5eaa8b19a7d4cc108ffafd0691ad499238b84.tar.bz2
docs-d6c5eaa8b19a7d4cc108ffafd0691ad499238b84.zip
Update according to #5066.
Diffstat (limited to 'api-merchant.rst')
-rw-r--r--api-merchant.rst13
1 files changed, 4 insertions, 9 deletions
diff --git a/api-merchant.rst b/api-merchant.rst
index aa435b75..5c797038 100644
--- a/api-merchant.rst
+++ b/api-merchant.rst
@@ -550,16 +550,11 @@ Transaction history
**Request**
- :query date: only transactions *older* than this parameter will be returned. It's a timestamp, given in seconds.
- Being optional, it defaults to the current time if not given.
- :query start: only transactions having `row_id` less than `start` will be returned. Being optional, it defaults to the
- highest `row_id` contained in the DB (namely, the youngest entry).
- :query delta: at most `delta` entries will be returned. Being optional, it defaults to 20.
+ :query date: time threshold, see `delta` for its interpretation.
+ :query start: row number threshold, see `delta` for its interpretation. Defaults to `UINT64_MAX`, namely the biggest row id possible in the database.
+ :query delta: takes value of the form `N (-N)`, so that at most `N` values strictly younger (older) than `start` and `date` are returned. Defaults to `-20`.
:query instance: on behalf of which merchant instance the query should be accomplished.
-
- A typical usage is to firstly call this API without `start` and `date` parameter, then fetch the oldest
- `row_id` from the results, and then keep calling the API by using the oldest row ID as `start` parameter.
- This way we simply "scroll" results from the youngest to the oldest, `delta` entries at time.
+ :query ordering: takes value `descending` or `ascending` according to the results wanted from younger to older or vice versa. Defaults to `descending`.
**Response**