From 7b441a847f014e0f61cc50ed399d3d4e99759be2 Mon Sep 17 00:00:00 2001 From: "aleksej.paschenko" Date: Thu, 7 Nov 2024 14:11:32 +0300 Subject: [PATCH] GET /webhooks to return more info --- api/rt.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/api/rt.yml b/api/rt.yml index 44663900..f1d8eaa9 100644 --- a/api/rt.yml +++ b/api/rt.yml @@ -336,7 +336,12 @@ components: - id - endpoint - token + - status + - status_updated_at + - last_online_at + - status_failed_attempts - subscribed_accounts + - subscribed_to_mempool properties: id: type: integer @@ -347,6 +352,21 @@ components: type: string subscribed_accounts: type: integer + subscribed_to_mempool: + type: boolean + status: + type: string + enum: + - online + - offline + status_updated_at: + type: string + format: date-time + last_online_at: + type: string + format: date-time + status_failed_attempts: + type: integer WebhookAccountTxSubscriptions: type: object required: