add alerter endpoints

This commit is contained in:
boufni95 2025-05-14 18:59:00 +00:00
parent 74e6d5b3ca
commit ed6036ce1e
20 changed files with 414 additions and 11 deletions

View file

@ -158,6 +158,11 @@ The nostr server will send back a message response, and inside the body there wi
- input: [GetPaymentStateRequest](#GetPaymentStateRequest)
- output: [PaymentState](#PaymentState)
- GetProvidersDisruption
- auth type: __Metrics__
- This methods has an __empty__ __request__ body
- output: [ProvidersDisruption](#ProvidersDisruption)
- GetSeed
- auth type: __Admin__
- This methods has an __empty__ __request__ body
@ -250,6 +255,11 @@ The nostr server will send back a message response, and inside the body there wi
- input: [PayInvoiceRequest](#PayInvoiceRequest)
- output: [PayInvoiceResponse](#PayInvoiceResponse)
- PingSubProcesses
- auth type: __Metrics__
- This methods has an __empty__ __request__ body
- This methods has an __empty__ __response__ body
- ResetDebit
- auth type: __User__
- input: [DebitOperation](#DebitOperation)
@ -617,6 +627,13 @@ The nostr server will send back a message response, and inside the body there wi
- input: [GetPaymentStateRequest](#GetPaymentStateRequest)
- output: [PaymentState](#PaymentState)
- GetProvidersDisruption
- auth type: __Metrics__
- http method: __post__
- http route: __/api/metrics/providers/disruption__
- This methods has an __empty__ __request__ body
- output: [ProvidersDisruption](#ProvidersDisruption)
- GetSeed
- auth type: __Admin__
- http method: __get__
@ -790,6 +807,13 @@ The nostr server will send back a message response, and inside the body there wi
- input: [PayInvoiceRequest](#PayInvoiceRequest)
- output: [PayInvoiceResponse](#PayInvoiceResponse)
- PingSubProcesses
- auth type: __Metrics__
- http method: __post__
- http route: __/api/metrics/ping__
- This methods has an __empty__ __request__ body
- This methods has an __empty__ __response__ body
- RequestNPubLinkingToken
- auth type: __App__
- http method: __post__
@ -1352,6 +1376,14 @@ The nostr server will send back a message response, and inside the body there wi
- __noffer__: _string_
- __price_sats__: _number_
### ProviderDisruption
- __provider_pubkey__: _string_
- __provider_type__: _string_
- __since_unix__: _number_
### ProvidersDisruption
- __disruptions__: ARRAY of: _[ProviderDisruption](#ProviderDisruption)_
### RelaysMigration
- __relays__: ARRAY of: _string_