commit 4ce02fc38c228384a6c221c0fabcc74610976bf5
parent 862a12ff012076602b104bb859bfa8f4f8038a09
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Wed, 15 Oct 2025 22:43:58 +0200
rename method to alias type in taldir
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/core/api-taldir.rst b/core/api-taldir.rst
@@ -68,18 +68,18 @@ Configuration information
// Name of the protocol.
name: "taler-directory";
- // Supported registration methods
- methods: TaldirMethod[];
+ // Supported alias types
+ alias_types: TaldirAliasType[];
// fee for one month of registration
monthly_fee: Amount;
}
- .. ts:def:: TaldirMethod
+ .. ts:def:: TaldirAliasType
- interface TaldirMethod {
- // Name of the method, e.g. "email" or "sms".
+ interface TaldirAliasType {
+ // Name of the alias type, e.g. "email" or "sms".
name: string;
// per challenge fee
@@ -96,7 +96,7 @@ Alias registration
Endpoint to register, extend or modify the registration for an alias in
the directory.
Here, $ALIASTYPE is the type of alias to register, e.g. "email", or "phone".
- Supported methods are listed in the VersionResponse.
+ Supported alias types are listed in the VersionResponse.
Note that duration should be given as a multiple of a month in microseconds.
If the duration is not a multiple of a month it will be rounded to the
nearest multiple. Halfway values will be rounded away from zero.
@@ -138,7 +138,7 @@ Alias registration
Client needs to make a Taler payment before proceeding. See
standard Taler payment procedure.
:http:statuscode:`404 Not found`
- The TalDir service does not support the specified method.
+ The TalDir service does not support the specified alias type.
This response comes with a standard `ErrorDetail` response.
:http:statuscode:`429 Too Many Requests`:
The client exceeded the number of allowed attempts for initiating