forked from stellar-alerts-labs/stellar-alerts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.json
More file actions
93 lines (93 loc) · 2.11 KB
/
Copy pathopenapi.json
File metadata and controls
93 lines (93 loc) · 2.11 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"openapi": "3.0.3",
"info": {
"title": "Stellar Alerts API",
"description": "Interactive API documentation for the Stellar Payment Tracker. Register wallets, monitor payments and manage webhook alert endpoints.",
"version": "1.0.0"
},
"components": {
"schemas": {
"RequestLinkInput": {
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
}
},
"required": [
"email"
],
"additionalProperties": false
},
"VerifyLinkInput": {
"type": "object",
"properties": {
"token": {
"type": "string"
}
},
"required": [
"token"
],
"additionalProperties": false
},
"CreateWalletInput": {
"type": "object",
"properties": {
"publicKey": {
"type": "string"
},
"label": {
"type": "string"
},
"zkProof": {},
"publicSignals": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"publicKey"
],
"additionalProperties": false
},
"CreateWebhookInput": {
"type": "object",
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"format": "uri"
}
},
"required": [
"url"
],
"additionalProperties": false
}
}
},
"paths": {},
"tags": [
{
"name": "auth",
"description": "Magic-link authentication"
},
{
"name": "wallets",
"description": "Watched Stellar wallet management"
},
{
"name": "payments",
"description": "Incoming payment history and summaries"
},
{
"name": "webhooks",
"description": "Custom webhook alert endpoint management"
}
]
}