This repository was archived by the owner on Dec 28, 2023. It is now read-only.
File tree 2 files changed +31
-6
lines changed
2 files changed +31
-6
lines changed Original file line number Diff line number Diff line change 64
64
"properties" : {
65
65
"high_barrier" : {
66
66
"description" : " High barrier calculated based on current spot" ,
67
- "type" : " number" ,
67
+ "type" : " string" ,
68
+ "pattern" : " ^[+-]?[0-9]+\\ .?[0-9]*$" ,
68
69
"examples" : [
69
- 4.9358253e-05
70
+ 42.123
70
71
]
71
72
},
72
73
"last_tick_epoch" : {
75
76
},
76
77
"low_barrier" : {
77
78
"description" : " Low barrier calculated based on current spot" ,
78
- "type" : " number" ,
79
+ "type" : " string" ,
80
+ "pattern" : " ^[+-]?[0-9]+\\ .?[0-9]*$" ,
79
81
"examples" : [
80
- 4.9358253e-05
82
+ 42.123
81
83
]
82
84
},
83
85
"maximum_payout" : {
Original file line number Diff line number Diff line change 10
10
"properties" : {
11
11
"set_settings" : {
12
12
"title" : " set_settings" ,
13
- "description" : " 1 on success" ,
14
- "type" : " integer"
13
+ "description" : " Returns notification with proper code and message_to_client" ,
14
+ "type" : " object" ,
15
+ "additionalProperties" : false ,
16
+ "required" : [
17
+ " notification"
18
+ ],
19
+ "properties" : {
20
+ "notification" : {
21
+ "description" : " Notification message to display on special occasions" ,
22
+ "type" : [
23
+ " null" ,
24
+ " object"
25
+ ],
26
+ "properties" : {
27
+ "code" : {
28
+ "description" : " Code which is unique for certain scenarios" ,
29
+ "type" : " string"
30
+ },
31
+ "message_to_client" : {
32
+ "description" : " Message to show to client" ,
33
+ "type" : " string"
34
+ }
35
+ }
36
+ }
37
+ }
15
38
},
16
39
"echo_req" : {
17
40
"description" : " Echo of the request made." ,
You can’t perform that action at this time.
0 commit comments