- GET [/instances/$INSTANCE]/private/otp-devices#
This is used to return the list of all the OTP devices.
Required permission:
otp-devices-readResponse:
- 200 OK:
The backend has successfully returned all the templates. Returns a OtpDeviceSummaryResponse.
- 401 Unauthorized:
The request is unauthorized.
- 404 Not found:
The backend has does not know about the instance.
- 500 Internal Server Error:
The server experienced an internal failure. Returned with
TALER_EC_GENERIC_DB_FETCH_FAILED.
Details:
interface OtpDeviceSummaryResponse { // Array of devices that are present in our backend. otp_devices: OtpDeviceEntry[]; }
interface OtpDeviceEntry { // Device identifier. otp_device_id: string; // Human-readable description for the device. device_description: string; }