-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi.raml
More file actions
65 lines (65 loc) · 1.67 KB
/
Copy pathapi.raml
File metadata and controls
65 lines (65 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#%RAML 1.0
title: LightningHub
version: v1
baseUri: http://api.bluewallet.io/{version}
protocols: [HTTP, HTTPS]
mediaType: application/json
securedBy: [passthrough]
documentation:
- !include documentation/home.raml
- !include documentation/authentication.raml
- !include documentation/error-codes.raml
uses:
base-types: types/base-types.raml
bluewallet-types: types/bluewallet-types.raml
securitySchemes:
passthrough: !include securitySchemes/passthrough.raml
traits:
paged: !include ./traits/paged.raml
rateLimited: !include traits/rateLimited.raml
resourceTypes:
GetInfo: !include resourceTypes/getinfo.raml
Create: !include resourceTypes/create.raml
Auth: !include resourceTypes/auth.raml
Balance: !include resourceTypes/balance.raml
GetBTC: !include resourceTypes/getbtc.raml
GetPending: !include ./resourceTypes/getpending.raml
AddInvoice: !include ./resourceTypes/addinvoice.raml
PayInvoice: !include ./resourceTypes/payinvoice.raml
GetTxs: !include ./resourceTypes/gettxs.raml
GetUserInvoices: !include ./resourceTypes/getuserinvoices.raml
DecodeInvoice: !include ./resourceTypes/decodeinvoice.raml
/getinfo:
type: GetInfo
securedBy: null
/create:
type: Create
securedBy: null
is: [rateLimited]
/auth:
type: Auth
securedBy: null
is: [rateLimited]
/balance:
type: Balance
is: [rateLimited]
/getbtc:
type: GetBTC
/getpending:
type: GetPending
is: [rateLimited]
/addinvoice:
type: AddInvoice
is: [rateLimited]
/payinvoice:
type: PayInvoice
is: [rateLimited]
/gettxs:
type: GetTxs
is: [paged, rateLimited]
/getuserinvoices:
type: GetUserInvoices
is: [paged, rateLimited]
/decodeinvoice:
type: DecodeInvoice
is: [rateLimited]