Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 31a2e83

Browse files
Merge pull request #267 from mariovw-deriv/binary-com/update_schemas_22Nov
Binary com/update schemas 22 nov
2 parents 2593a78 + 2f85bad commit 31a2e83

File tree

128 files changed

+712
-281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+712
-281
lines changed

_data/v3.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ groups:
4949
title: 'Copy Trading: Statistics'
5050
- name: crypto_config
5151
title: Cryptocurrency configurations
52+
- name: crypto_estimations
53+
title: Cryptocurrency Estimations
5254
- name: document_upload
5355
title: Document Upload
5456
- name: economic_calendar

config/v3/active_symbols/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,14 @@
5252
"basic"
5353
]
5454
},
55+
"loginid": {
56+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
57+
"type": "string",
58+
"pattern": "^[A-Za-z]+[0-9]+$"
59+
},
5560
"passthrough": {
5661
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
57-
"type": "object",
58-
"maxSize": 3500
62+
"type": "object"
5963
},
6064
"req_id": {
6165
"description": "[Optional] Used to map request to response.",

config/v3/api_token/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,14 @@
5353
1
5454
]
5555
},
56+
"loginid": {
57+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
58+
"type": "string",
59+
"pattern": "^[A-Za-z]+[0-9]+$"
60+
},
5661
"passthrough": {
5762
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
58-
"type": "object",
59-
"maxSize": 3500
63+
"type": "object"
6064
},
6165
"req_id": {
6266
"description": "[Optional] Used to map request to response.",

config/v3/app_delete/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@
1616
"description": "Application app_id",
1717
"type": "integer"
1818
},
19+
"loginid": {
20+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
21+
"type": "string",
22+
"pattern": "^[A-Za-z]+[0-9]+$"
23+
},
1924
"passthrough": {
2025
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
21-
"type": "object",
22-
"maxSize": 3500
26+
"type": "object"
2327
},
2428
"req_id": {
2529
"description": "[Optional] Used to map request to response.",

config/v3/app_get/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@
1616
"description": "Application app_id",
1717
"type": "integer"
1818
},
19+
"loginid": {
20+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
21+
"type": "string",
22+
"pattern": "^[A-Za-z]+[0-9]+$"
23+
},
1924
"passthrough": {
2025
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
21-
"type": "object",
22-
"maxSize": 3500
26+
"type": "object"
2327
},
2428
"req_id": {
2529
"description": "[Optional] Used to map request to response.",

config/v3/app_list/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@
1919
1
2020
]
2121
},
22+
"loginid": {
23+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
24+
"type": "string",
25+
"pattern": "^[A-Za-z]+[0-9]+$"
26+
},
2227
"passthrough": {
2328
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
24-
"type": "object",
25-
"maxSize": 3500
29+
"type": "object"
2630
},
2731
"req_id": {
2832
"description": "[Optional] Used to map request to response.",

config/v3/app_markup_details/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,14 @@
8484
"minItems": 0,
8585
"uniqueItems": true
8686
},
87+
"loginid": {
88+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
89+
"type": "string",
90+
"pattern": "^[A-Za-z]+[0-9]+$"
91+
},
8792
"passthrough": {
8893
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
89-
"type": "object",
90-
"maxSize": 3500
94+
"type": "object"
9195
},
9296
"req_id": {
9397
"description": "[Optional] Used to map request to response.",

config/v3/app_markup_statistics/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,14 @@
3131
"type": "string",
3232
"pattern": "^([0-9]{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01]) ([01]?[0-9]|2[0-3]):([0-5]?[0-9]):([0-5]?[0-9])|[0-9]{1,10})$"
3333
},
34+
"loginid": {
35+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
36+
"type": "string",
37+
"pattern": "^[A-Za-z]+[0-9]+$"
38+
},
3439
"passthrough": {
3540
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
36-
"type": "object",
37-
"maxSize": 3500
41+
"type": "object"
3842
},
3943
"req_id": {
4044
"description": "[Optional] Used to map request to response.",

config/v3/app_register/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,14 @@
7777
"type": "string",
7878
"pattern": "^[a-z][a-z0-9.+\\-]*://[0-9a-zA-Z\\.-]+[\\%\\/\\w \\.-]*$"
7979
},
80+
"loginid": {
81+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
82+
"type": "string",
83+
"pattern": "^[A-Za-z]+[0-9]+$"
84+
},
8085
"passthrough": {
8186
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
82-
"type": "object",
83-
"maxSize": 3500
87+
"type": "object"
8488
},
8589
"req_id": {
8690
"description": "[Optional] Used to map request to response.",

config/v3/app_update/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,14 @@
7474
"type": "string",
7575
"pattern": "^[a-z][a-z0-9.+\\-]*://[0-9a-zA-Z\\.-]+[\\%\\/\\w \\.-]*$"
7676
},
77+
"loginid": {
78+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
79+
"type": "string",
80+
"pattern": "^[A-Za-z]+[0-9]+$"
81+
},
7782
"passthrough": {
7883
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
79-
"type": "object",
80-
"maxSize": 3500
84+
"type": "object"
8185
},
8286
"req_id": {
8387
"description": "[Optional] Used to map request to response.",

config/v3/asset_index/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,14 @@
4444
"champion-virtual"
4545
]
4646
},
47+
"loginid": {
48+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
49+
"type": "string",
50+
"pattern": "^[A-Za-z]+[0-9]+$"
51+
},
4752
"passthrough": {
4853
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
49-
"type": "object",
50-
"maxSize": 3500
54+
"type": "object"
5155
},
5256
"req_id": {
5357
"description": "[Optional] Used to map request to response.",

config/v3/authorize/send.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,19 @@
2424
0
2525
]
2626
},
27+
"tokens": {
28+
"description": "Additional Authentication tokens of authorized user that may be used in this session. Upto 10 tokens.",
29+
"type": "array",
30+
"items": {
31+
"type": "string",
32+
"pattern": "^[\\w\\-]{1,128}$"
33+
},
34+
"maxItems": 10,
35+
"sensitive": 1
36+
},
2737
"passthrough": {
2838
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
29-
"type": "object",
30-
"maxSize": 3500
39+
"type": "object"
3140
},
3241
"req_id": {
3342
"description": "[Optional] Used to map request to response.",

config/v3/balance/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,14 @@
3434
1
3535
]
3636
},
37+
"loginid": {
38+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
39+
"type": "string",
40+
"pattern": "^[A-Za-z]+[0-9]+$"
41+
},
3742
"passthrough": {
3843
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
39-
"type": "object",
40-
"maxSize": 3500
44+
"type": "object"
4145
},
4246
"req_id": {
4347
"description": "[Optional] Used to map request to response.",

config/v3/buy/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,14 @@
208208
1
209209
]
210210
},
211+
"loginid": {
212+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
213+
"type": "string",
214+
"pattern": "^[A-Za-z]+[0-9]+$"
215+
},
211216
"passthrough": {
212217
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
213-
"type": "object",
214-
"maxSize": 3500
218+
"type": "object"
215219
},
216220
"req_id": {
217221
"description": "[Optional] Used to map request to response.",

config/v3/buy_contract_for_multiple_accounts/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,14 @@
164164
},
165165
"sensitive": 1
166166
},
167+
"loginid": {
168+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
169+
"type": "string",
170+
"pattern": "^[A-Za-z]+[0-9]+$"
171+
},
167172
"passthrough": {
168173
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
169-
"type": "object",
170-
"maxSize": 3500
174+
"type": "object"
171175
},
172176
"req_id": {
173177
"description": "[Optional] Used to map request to response.",

config/v3/cancel/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@
1616
"description": "Value should be the `contract_id` which received from the `portfolio` call.",
1717
"type": "integer"
1818
},
19+
"loginid": {
20+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
21+
"type": "string",
22+
"pattern": "^[A-Za-z]+[0-9]+$"
23+
},
1924
"passthrough": {
2025
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
21-
"type": "object",
22-
"maxSize": 3500
26+
"type": "object"
2327
},
2428
"req_id": {
2529
"description": "[Optional] Used to map request to response.",

config/v3/cashier/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,14 @@
6262
"type": "string",
6363
"pattern": "^\\w{8,128}$"
6464
},
65+
"loginid": {
66+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
67+
"type": "string",
68+
"pattern": "^[A-Za-z]+[0-9]+$"
69+
},
6570
"passthrough": {
6671
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
67-
"type": "object",
68-
"maxSize": 3500
72+
"type": "object"
6973
},
7074
"req_id": {
7175
"description": "[Optional] Used to map request to response.",

config/v3/contract_update/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,14 @@
4646
}
4747
}
4848
},
49+
"loginid": {
50+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
51+
"type": "string",
52+
"pattern": "^[A-Za-z]+[0-9]+$"
53+
},
4954
"passthrough": {
5055
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
51-
"type": "object",
52-
"maxSize": 3500
56+
"type": "object"
5357
},
5458
"req_id": {
5559
"description": "[Optional] Used to map request to response.",

config/v3/contract_update_history/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,14 @@
3131
"maximum": 999,
3232
"minimum": 1
3333
},
34+
"loginid": {
35+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
36+
"type": "string",
37+
"pattern": "^[A-Za-z]+[0-9]+$"
38+
},
3439
"passthrough": {
3540
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
36-
"type": "object",
37-
"maxSize": 3500
41+
"type": "object"
3842
},
3943
"req_id": {
4044
"description": "[Optional] Used to map request to response.",

config/v3/contracts_for/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,14 @@
5757
"basic"
5858
]
5959
},
60+
"loginid": {
61+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
62+
"type": "string",
63+
"pattern": "^[A-Za-z]+[0-9]+$"
64+
},
6065
"passthrough": {
6166
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
62-
"type": "object",
63-
"maxSize": 3500
67+
"type": "object"
6468
},
6569
"req_id": {
6670
"description": "[Optional] Used to map request to response.",

config/v3/copy_start/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,14 @@
5858
}
5959
]
6060
},
61+
"loginid": {
62+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
63+
"type": "string",
64+
"pattern": "^[A-Za-z]+[0-9]+$"
65+
},
6166
"passthrough": {
6267
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
63-
"type": "object",
64-
"maxSize": 3500
68+
"type": "object"
6569
},
6670
"req_id": {
6771
"description": "[Optional] Used to map request to response.",

config/v3/copy_stop/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,14 @@
1818
"pattern": "^[\\w\\s-]{15,32}$",
1919
"sensitive": 1
2020
},
21+
"loginid": {
22+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
23+
"type": "string",
24+
"pattern": "^[A-Za-z]+[0-9]+$"
25+
},
2126
"passthrough": {
2227
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
23-
"type": "object",
24-
"maxSize": 3500
28+
"type": "object"
2529
},
2630
"req_id": {
2731
"description": "[Optional] Used to map request to response.",

config/v3/copytrading_list/send.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@
1919
1
2020
]
2121
},
22+
"loginid": {
23+
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",
24+
"type": "string",
25+
"pattern": "^[A-Za-z]+[0-9]+$"
26+
},
2227
"passthrough": {
2328
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
24-
"type": "object",
25-
"maxSize": 3500
29+
"type": "object"
2630
},
2731
"req_id": {
2832
"description": "[Optional] Used to map request to response.",

config/v3/copytrading_statistics/send.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
},
2525
"passthrough": {
2626
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.",
27-
"type": "object",
28-
"maxSize": 3500
27+
"type": "object"
2928
},
3029
"req_id": {
3130
"description": "[Optional] Used to map request to response.",

0 commit comments

Comments
 (0)