commit ce45719fbeba87394369d4c19c000da3d6cd22e6
parent 40da19ea5bbdef083b6dccf016fd06e132db41a6
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Mon, 23 Jun 2025 12:14:01 +0200
minor
Diffstat:
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -1279,7 +1279,7 @@ Setting up instances
**Request:**
:query limit: *Optional.*
- At most return the given number of results. Negative for descending by ``row_id``, positive for ascending by ``row_id``. Defaults to ``-20``.
+ At most return the given number of results. Negative for descending by ``serial``, positive for ascending by ``serial``. Defaults to ``-20``.
:query offset: *Optional.*
Starting ``serial`` for :ref:`pagination <row-id-pagination>`.
@@ -1308,14 +1308,11 @@ Setting up instances
// Time when the token was created.
creation_time: Timestamp;
- // Expiration determined by the server.
- // Can be based on the token_duration
- // from the request, but ultimately the
- // server decides the expiration.
+ // Time when the token expires.
expiration: Timestamp;
// Scope for the token.
- scope: "readonly" | "readwrite" | "revenue" | "wiregateway";
+ scope: "readonly" | "readwrite" | ...;
// Is the token refreshable into a new token during its
// validity?
@@ -1326,16 +1323,13 @@ Setting up instances
// Optional token description
description?: string;
- // Time when the token was last used.
- last_access: Timestamp;
-
// Opaque unique ID used for pagination.
serial: Integer;
}
.. http:delete:: [/instances/$INSTANCE]/private/tokens/$SERIAL
- Delete a token for ``$INSTANCE`` API access by its ```$SERIAL``.
+ Delete a token for ``$INSTANCE`` API access by its ``$SERIAL``.
@since **vTOKENS**