[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: otp -> otp-devices is clearer
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: otp -> otp-devices is clearer |
Date: |
Wed, 30 Aug 2023 21:18:39 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new 65517585 otp -> otp-devices is clearer
65517585 is described below
commit 65517585508cfa6166e17d97cc42789cc471b254
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Wed Aug 30 21:18:29 2023 +0200
otp -> otp-devices is clearer
---
core/api-merchant.rst | 33 ++++++++-------------------------
1 file changed, 8 insertions(+), 25 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index e3294263..02888843 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -969,23 +969,6 @@ Setting up instances
}
- .. ts:def:: MerchantBankAccount
-
- interface MerchantBankAccount
- // The payto:// URI where the wallet will send coins.
- payto_uri: string;
-
- // Optional base URL for a facade where the
- // merchant backend can see incoming wire
- // transfers to reconcile its accounting
- // with that of the exchange. Used by
- // taler-merchant-wirewatch.
- credit_facade_url?: string;
-
- // Credentials for accessing the credit facade.
- credit_facade_credentials?: FacadeCredentials;
- }
-
.. http:post:: /management/instances/$INSTANCE/auth
.. http:post:: [/instances/$INSTANCE]/private/auth
@@ -3010,7 +2993,7 @@ OTP devices can be used to allow offline merchants
to validate that a customer made a payment.
-.. http:post:: [/instances/$INSTANCE]/private/otp
+.. http:post:: [/instances/$INSTANCE]/private/otp-devices
This is used to associate an OTP device with an instance.
@@ -3046,7 +3029,7 @@ to validate that a customer made a payment.
}
-.. http:patch:: [/instances/$INSTANCE]/private/otp/$DEVICE_ID
+.. http:patch:: [/instances/$INSTANCE]/private/otp-devices/$DEVICE_ID
This is used to update an OTP device. It is useful when we need to change
information in the OTP device or when we have mistake some information.
@@ -3082,7 +3065,7 @@ to validate that a customer made a payment.
}
-.. http:get:: [/instances/$INSTANCE]/private/otp
+.. http:get:: [/instances/$INSTANCE]/private/otp-devices
This is used to return the list of all the OTP devices.
@@ -3097,8 +3080,8 @@ to validate that a customer made a payment.
interface OtpDeviceSummaryResponse {
- // List of devices that are present in our backend.
- devices_list: OtpDeviceEntry[];
+ // Array of devices that are present in our backend.
+ otp_devices: OtpDeviceEntry[];
}
.. ts:def:: OtpDeviceEntry
@@ -3106,13 +3089,13 @@ to validate that a customer made a payment.
interface OtpDeviceEntry {
// Device identifier.
- device_id: string;
+ otp_device_id: string;
// Human-readable description for the device.
device_description: string;
}
-.. http:get:: [/instances/$INSTANCE]/private/otp/$DEVICE_ID
+.. http:get:: [/instances/$INSTANCE]/private/otp-devices/$DEVICE_ID
This is used to obtain detailed information about a specific OTP device.
@@ -3140,7 +3123,7 @@ to validate that a customer made a payment.
}
-.. http:delete:: [/instances/$INSTANCE]/private/otp/$DEVICE_ID
+.. http:delete:: [/instances/$INSTANCE]/private/otp-devices/$DEVICE_ID
**Response:**
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: otp -> otp-devices is clearer,
gnunet <=