Skip to content

Commit 285c686

Browse files
committed
update openapi file
1 parent acf0b28 commit 285c686

File tree

2 files changed

+46
-24
lines changed

2 files changed

+46
-24
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@
10621062
"examples": {
10631063
"Example response": {
10641064
"value": {
1065-
"time": "2025-09-15T06:04:03.6857173Z",
1065+
"time": "2025-09-16T06:04:29.5344591Z",
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-15T06:04:03.6857173Z",
1080+
"time": "2025-09-16T06:04:29.5344591Z",
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-15T06:04:03.6857173Z",
1095+
"time": "2025-09-16T06:04:29.5344591Z",
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-15T06:04:03.6857173Z",
1110+
"time": "2025-09-16T06:04:29.5344591Z",
11111111
"asset_id_base": "BTC",
11121112
"asset_id_quote": "USD",
11131113
"rate": 10000.0

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

Lines changed: 42 additions & 20 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-15T06:04:03.8590134Z",
896+
"time": "2025-09-16T06:04:29.6914234Z",
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-15T06:04:03.8590134Z",
907+
"time": "2025-09-16T06:04:29.6914234Z",
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-15T06:04:03.8590134Z",
918+
"time": "2025-09-16T06:04:29.6914234Z",
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-15T06:04:03.8590134Z",
929+
"time": "2025-09-16T06:04:29.6914234Z",
930930
"asset_id_base": "BTC",
931931
"asset_id_quote": "USD",
932932
"rate": 10000.0
@@ -6231,7 +6231,8 @@ paths:
62316231
"asset_id_base_exchange": "XBT",
62326232
"asset_id_quote_exchange": "USD",
62336233
"price_precision": 0.100000000,
6234-
"size_precision": 1.000000000
6234+
"size_precision": 1.000000000,
6235+
"symbol_id_integer": 0
62356236
},
62366237
{
62376238
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -6257,7 +6258,8 @@ paths:
62576258
"asset_id_base_exchange": "LTC",
62586259
"asset_id_quote_exchange": "USDC",
62596260
"price_precision": 0.000000010,
6260-
"size_precision": 0.000000010
6261+
"size_precision": 0.000000010,
6262+
"symbol_id_integer": 0
62616263
}
62626264
]
62636265
application/json:
@@ -6296,7 +6298,8 @@ paths:
62966298
"asset_id_base_exchange": "XBT",
62976299
"asset_id_quote_exchange": "USD",
62986300
"price_precision": 0.100000000,
6299-
"size_precision": 1.000000000
6301+
"size_precision": 1.000000000,
6302+
"symbol_id_integer": 0
63006303
},
63016304
{
63026305
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -6322,7 +6325,8 @@ paths:
63226325
"asset_id_base_exchange": "LTC",
63236326
"asset_id_quote_exchange": "USDC",
63246327
"price_precision": 0.000000010,
6325-
"size_precision": 0.000000010
6328+
"size_precision": 0.000000010,
6329+
"symbol_id_integer": 0
63266330
}
63276331
]
63286332
text/json:
@@ -6361,7 +6365,8 @@ paths:
63616365
"asset_id_base_exchange": "XBT",
63626366
"asset_id_quote_exchange": "USD",
63636367
"price_precision": 0.100000000,
6364-
"size_precision": 1.000000000
6368+
"size_precision": 1.000000000,
6369+
"symbol_id_integer": 0
63656370
},
63666371
{
63676372
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -6387,7 +6392,8 @@ paths:
63876392
"asset_id_base_exchange": "LTC",
63886393
"asset_id_quote_exchange": "USDC",
63896394
"price_precision": 0.000000010,
6390-
"size_precision": 0.000000010
6395+
"size_precision": 0.000000010,
6396+
"symbol_id_integer": 0
63916397
}
63926398
]
63936399
application/x-msgpack:
@@ -6426,7 +6432,8 @@ paths:
64266432
"asset_id_base_exchange": "XBT",
64276433
"asset_id_quote_exchange": "USD",
64286434
"price_precision": 0.100000000,
6429-
"size_precision": 1.000000000
6435+
"size_precision": 1.000000000,
6436+
"symbol_id_integer": 0
64306437
},
64316438
{
64326439
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -6452,7 +6459,8 @@ paths:
64526459
"asset_id_base_exchange": "LTC",
64536460
"asset_id_quote_exchange": "USDC",
64546461
"price_precision": 0.000000010,
6455-
"size_precision": 0.000000010
6462+
"size_precision": 0.000000010,
6463+
"symbol_id_integer": 0
64566464
}
64576465
]
64586466
'/v1/symbols/{exchange_id}/history':
@@ -6522,7 +6530,8 @@ paths:
65226530
"asset_id_base_exchange": "XBT",
65236531
"asset_id_quote_exchange": "USD",
65246532
"price_precision": 0.100000000,
6525-
"size_precision": 1.000000000
6533+
"size_precision": 1.000000000,
6534+
"symbol_id_integer": 0
65266535
},
65276536
{
65286537
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -6548,7 +6557,8 @@ paths:
65486557
"asset_id_base_exchange": "LTC",
65496558
"asset_id_quote_exchange": "USDC",
65506559
"price_precision": 0.000000010,
6551-
"size_precision": 0.000000010
6560+
"size_precision": 0.000000010,
6561+
"symbol_id_integer": 0
65526562
}
65536563
]
65546564
application/json:
@@ -6587,7 +6597,8 @@ paths:
65876597
"asset_id_base_exchange": "XBT",
65886598
"asset_id_quote_exchange": "USD",
65896599
"price_precision": 0.100000000,
6590-
"size_precision": 1.000000000
6600+
"size_precision": 1.000000000,
6601+
"symbol_id_integer": 0
65916602
},
65926603
{
65936604
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -6613,7 +6624,8 @@ paths:
66136624
"asset_id_base_exchange": "LTC",
66146625
"asset_id_quote_exchange": "USDC",
66156626
"price_precision": 0.000000010,
6616-
"size_precision": 0.000000010
6627+
"size_precision": 0.000000010,
6628+
"symbol_id_integer": 0
66176629
}
66186630
]
66196631
text/json:
@@ -6652,7 +6664,8 @@ paths:
66526664
"asset_id_base_exchange": "XBT",
66536665
"asset_id_quote_exchange": "USD",
66546666
"price_precision": 0.100000000,
6655-
"size_precision": 1.000000000
6667+
"size_precision": 1.000000000,
6668+
"symbol_id_integer": 0
66566669
},
66576670
{
66586671
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -6678,7 +6691,8 @@ paths:
66786691
"asset_id_base_exchange": "LTC",
66796692
"asset_id_quote_exchange": "USDC",
66806693
"price_precision": 0.000000010,
6681-
"size_precision": 0.000000010
6694+
"size_precision": 0.000000010,
6695+
"symbol_id_integer": 0
66826696
}
66836697
]
66846698
application/x-msgpack:
@@ -6717,7 +6731,8 @@ paths:
67176731
"asset_id_base_exchange": "XBT",
67186732
"asset_id_quote_exchange": "USD",
67196733
"price_precision": 0.100000000,
6720-
"size_precision": 1.000000000
6734+
"size_precision": 1.000000000,
6735+
"symbol_id_integer": 0
67216736
},
67226737
{
67236738
"symbol_id": "POLONIEX_SPOT_LTC_USDC",
@@ -6743,7 +6758,8 @@ paths:
67436758
"asset_id_base_exchange": "LTC",
67446759
"asset_id_quote_exchange": "USDC",
67456760
"price_precision": 0.000000010,
6746-
"size_precision": 0.000000010
6761+
"size_precision": 0.000000010,
6762+
"symbol_id_integer": 0
67476763
}
67486764
]
67496765
/v1/ohlcv/periods:
@@ -8677,6 +8693,12 @@ components:
86778693
description: Volume unit in USD.
86788694
format: double
86798695
nullable: true
8696+
symbol_id_integer:
8697+
type: integer
8698+
description: 'The symbol identifier in integer immutable format, used to correlate data across different APIs.'
8699+
format: int32
8700+
nullable: true
8701+
readOnly: true
86808702
additionalProperties: false
86818703
description: Represents a symbol data model.
86828704
v1.SymbolMapping:

0 commit comments

Comments
 (0)