Skip to content

Commit f043147

Browse files
committed
update openapi file
1 parent 027c410 commit f043147

File tree

2 files changed

+47
-24
lines changed

2 files changed

+47
-24
lines changed

coinapi/market-data-api-rest/spec/openapi.json

Lines changed: 43 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@
10621062
"examples": {
10631063
"Example response": {
10641064
"value": {
1065-
"time": "2025-09-12T06:04:04.3363822Z",
1065+
"time": "2025-09-15T06:04:03.6857173Z",
10661066
"asset_id_base": "BTC",
10671067
"asset_id_quote": "USD",
10681068
"rate": 10000.0
@@ -1077,7 +1077,7 @@
10771077
"examples": {
10781078
"Example response": {
10791079
"value": {
1080-
"time": "2025-09-12T06:04:04.3363822Z",
1080+
"time": "2025-09-15T06:04:03.6857173Z",
10811081
"asset_id_base": "BTC",
10821082
"asset_id_quote": "USD",
10831083
"rate": 10000.0
@@ -1092,7 +1092,7 @@
10921092
"examples": {
10931093
"Example response": {
10941094
"value": {
1095-
"time": "2025-09-12T06:04:04.3363822Z",
1095+
"time": "2025-09-15T06:04:03.6857173Z",
10961096
"asset_id_base": "BTC",
10971097
"asset_id_quote": "USD",
10981098
"rate": 10000.0
@@ -1107,7 +1107,7 @@
11071107
"examples": {
11081108
"Example response": {
11091109
"value": {
1110-
"time": "2025-09-12T06:04:04.3363822Z",
1110+
"time": "2025-09-15T06:04:03.6857173Z",
11111111
"asset_id_base": "BTC",
11121112
"asset_id_quote": "USD",
11131113
"rate": 10000.0
@@ -7690,7 +7690,8 @@
76907690
"asset_id_base_exchange": "XBT",
76917691
"asset_id_quote_exchange": "USD",
76927692
"price_precision": 0.100000000,
7693-
"size_precision": 1.000000000
7693+
"size_precision": 1.000000000,
7694+
"symbol_id_integer": 0
76947695
},
76957696
{
76967697
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -7716,7 +7717,8 @@
77167717
"asset_id_base_exchange": "LTC",
77177718
"asset_id_quote_exchange": "USDC",
77187719
"price_precision": 0.000000010,
7719-
"size_precision": 0.000000010
7720+
"size_precision": 0.000000010,
7721+
"symbol_id_integer": 0
77207722
}
77217723
]
77227724
}
@@ -7760,7 +7762,8 @@
77607762
"asset_id_base_exchange": "XBT",
77617763
"asset_id_quote_exchange": "USD",
77627764
"price_precision": 0.100000000,
7763-
"size_precision": 1.000000000
7765+
"size_precision": 1.000000000,
7766+
"symbol_id_integer": 0
77647767
},
77657768
{
77667769
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -7786,7 +7789,8 @@
77867789
"asset_id_base_exchange": "LTC",
77877790
"asset_id_quote_exchange": "USDC",
77887791
"price_precision": 0.000000010,
7789-
"size_precision": 0.000000010
7792+
"size_precision": 0.000000010,
7793+
"symbol_id_integer": 0
77907794
}
77917795
]
77927796
}
@@ -7830,7 +7834,8 @@
78307834
"asset_id_base_exchange": "XBT",
78317835
"asset_id_quote_exchange": "USD",
78327836
"price_precision": 0.100000000,
7833-
"size_precision": 1.000000000
7837+
"size_precision": 1.000000000,
7838+
"symbol_id_integer": 0
78347839
},
78357840
{
78367841
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -7856,7 +7861,8 @@
78567861
"asset_id_base_exchange": "LTC",
78577862
"asset_id_quote_exchange": "USDC",
78587863
"price_precision": 0.000000010,
7859-
"size_precision": 0.000000010
7864+
"size_precision": 0.000000010,
7865+
"symbol_id_integer": 0
78607866
}
78617867
]
78627868
}
@@ -7900,7 +7906,8 @@
79007906
"asset_id_base_exchange": "XBT",
79017907
"asset_id_quote_exchange": "USD",
79027908
"price_precision": 0.100000000,
7903-
"size_precision": 1.000000000
7909+
"size_precision": 1.000000000,
7910+
"symbol_id_integer": 0
79047911
},
79057912
{
79067913
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -7926,7 +7933,8 @@
79267933
"asset_id_base_exchange": "LTC",
79277934
"asset_id_quote_exchange": "USDC",
79287935
"price_precision": 0.000000010,
7929-
"size_precision": 0.000000010
7936+
"size_precision": 0.000000010,
7937+
"symbol_id_integer": 0
79307938
}
79317939
]
79327940
}
@@ -8017,7 +8025,8 @@
80178025
"asset_id_base_exchange": "XBT",
80188026
"asset_id_quote_exchange": "USD",
80198027
"price_precision": 0.100000000,
8020-
"size_precision": 1.000000000
8028+
"size_precision": 1.000000000,
8029+
"symbol_id_integer": 0
80218030
},
80228031
{
80238032
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -8043,7 +8052,8 @@
80438052
"asset_id_base_exchange": "LTC",
80448053
"asset_id_quote_exchange": "USDC",
80458054
"price_precision": 0.000000010,
8046-
"size_precision": 0.000000010
8055+
"size_precision": 0.000000010,
8056+
"symbol_id_integer": 0
80478057
}
80488058
]
80498059
}
@@ -8087,7 +8097,8 @@
80878097
"asset_id_base_exchange": "XBT",
80888098
"asset_id_quote_exchange": "USD",
80898099
"price_precision": 0.100000000,
8090-
"size_precision": 1.000000000
8100+
"size_precision": 1.000000000,
8101+
"symbol_id_integer": 0
80918102
},
80928103
{
80938104
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -8113,7 +8124,8 @@
81138124
"asset_id_base_exchange": "LTC",
81148125
"asset_id_quote_exchange": "USDC",
81158126
"price_precision": 0.000000010,
8116-
"size_precision": 0.000000010
8127+
"size_precision": 0.000000010,
8128+
"symbol_id_integer": 0
81178129
}
81188130
]
81198131
}
@@ -8157,7 +8169,8 @@
81578169
"asset_id_base_exchange": "XBT",
81588170
"asset_id_quote_exchange": "USD",
81598171
"price_precision": 0.100000000,
8160-
"size_precision": 1.000000000
8172+
"size_precision": 1.000000000,
8173+
"symbol_id_integer": 0
81618174
},
81628175
{
81638176
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -8183,7 +8196,8 @@
81838196
"asset_id_base_exchange": "LTC",
81848197
"asset_id_quote_exchange": "USDC",
81858198
"price_precision": 0.000000010,
8186-
"size_precision": 0.000000010
8199+
"size_precision": 0.000000010,
8200+
"symbol_id_integer": 0
81878201
}
81888202
]
81898203
}
@@ -8227,7 +8241,8 @@
82278241
"asset_id_base_exchange": "XBT",
82288242
"asset_id_quote_exchange": "USD",
82298243
"price_precision": 0.100000000,
8230-
"size_precision": 1.000000000
8244+
"size_precision": 1.000000000,
8245+
"symbol_id_integer": 0
82318246
},
82328247
{
82338248
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -8253,7 +8268,8 @@
82538268
"asset_id_base_exchange": "LTC",
82548269
"asset_id_quote_exchange": "USDC",
82558270
"price_precision": 0.000000010,
8256-
"size_precision": 0.000000010
8271+
"size_precision": 0.000000010,
8272+
"symbol_id_integer": 0
82578273
}
82588274
]
82598275
}
@@ -10694,6 +10710,13 @@
1069410710
"description": "Volume unit in USD.",
1069510711
"format": "double",
1069610712
"nullable": true
10713+
},
10714+
"symbol_id_integer": {
10715+
"type": "integer",
10716+
"description": "The symbol identifier in integer immutable format, used to correlate data across different APIs.",
10717+
"format": "int32",
10718+
"nullable": true,
10719+
"readOnly": true
1069710720
}
1069810721
},
1069910722
"additionalProperties": false,

coinapi/market-data-api-rest/spec/openapi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ paths:
893893
examples:
894894
Example response:
895895
value: {
896-
"time": "2025-09-12T06:04:04.4720669Z",
896+
"time": "2025-09-15T06:04:03.8590134Z",
897897
"asset_id_base": "BTC",
898898
"asset_id_quote": "USD",
899899
"rate": 10000.0
@@ -904,7 +904,7 @@ paths:
904904
examples:
905905
Example response:
906906
value: {
907-
"time": "2025-09-12T06:04:04.4720669Z",
907+
"time": "2025-09-15T06:04:03.8590134Z",
908908
"asset_id_base": "BTC",
909909
"asset_id_quote": "USD",
910910
"rate": 10000.0
@@ -915,7 +915,7 @@ paths:
915915
examples:
916916
Example response:
917917
value: {
918-
"time": "2025-09-12T06:04:04.4720669Z",
918+
"time": "2025-09-15T06:04:03.8590134Z",
919919
"asset_id_base": "BTC",
920920
"asset_id_quote": "USD",
921921
"rate": 10000.0
@@ -926,7 +926,7 @@ paths:
926926
examples:
927927
Example response:
928928
value: {
929-
"time": "2025-09-12T06:04:04.4720669Z",
929+
"time": "2025-09-15T06:04:03.8590134Z",
930930
"asset_id_base": "BTC",
931931
"asset_id_quote": "USD",
932932
"rate": 10000.0

0 commit comments

Comments
 (0)