Skip to content

Commit

Permalink
update openapi file
Browse files Browse the repository at this point in the history
  • Loading branch information
Svisstack committed Apr 29, 2024
1 parent 2a9f9e1 commit 8422377
Showing 1 changed file with 179 additions and 4 deletions.
183 changes: 179 additions & 4 deletions data-api/coinapi-marketdata-rest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,18 @@ paths:
"volume_1day_usd": 2086392323256.16,
"volume_1mth_usd": 57929168359984.54,
"price_usd": 9166.207274778093436220194944,
"chain_addresses": [
{
"chain_id": "ARBITRUM",
"network_id": "MAINNET",
"address": "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f"
},
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
},
Expand All @@ -76,6 +88,13 @@ paths:
"volume_1day_usd": 221580758173.49,
"volume_1mth_usd": 11816685174661.70,
"price_usd": 1.0,
"chain_addresses": [
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0xd233d1f6fd11640081abb8db125f722b5dc729dc"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
}
Expand Down Expand Up @@ -103,6 +122,18 @@ paths:
"volume_1day_usd": 2086392323256.16,
"volume_1mth_usd": 57929168359984.54,
"price_usd": 9166.207274778093436220194944,
"chain_addresses": [
{
"chain_id": "ARBITRUM",
"network_id": "MAINNET",
"address": "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f"
},
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
},
Expand All @@ -121,6 +152,13 @@ paths:
"volume_1day_usd": 221580758173.49,
"volume_1mth_usd": 11816685174661.70,
"price_usd": 1.0,
"chain_addresses": [
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0xd233d1f6fd11640081abb8db125f722b5dc729dc"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
}
Expand Down Expand Up @@ -148,6 +186,18 @@ paths:
"volume_1day_usd": 2086392323256.16,
"volume_1mth_usd": 57929168359984.54,
"price_usd": 9166.207274778093436220194944,
"chain_addresses": [
{
"chain_id": "ARBITRUM",
"network_id": "MAINNET",
"address": "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f"
},
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
},
Expand All @@ -166,6 +216,13 @@ paths:
"volume_1day_usd": 221580758173.49,
"volume_1mth_usd": 11816685174661.70,
"price_usd": 1.0,
"chain_addresses": [
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0xd233d1f6fd11640081abb8db125f722b5dc729dc"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
}
Expand Down Expand Up @@ -193,6 +250,18 @@ paths:
"volume_1day_usd": 2086392323256.16,
"volume_1mth_usd": 57929168359984.54,
"price_usd": 9166.207274778093436220194944,
"chain_addresses": [
{
"chain_id": "ARBITRUM",
"network_id": "MAINNET",
"address": "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f"
},
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
},
Expand All @@ -211,6 +280,13 @@ paths:
"volume_1day_usd": 221580758173.49,
"volume_1mth_usd": 11816685174661.70,
"price_usd": 1.0,
"chain_addresses": [
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0xd233d1f6fd11640081abb8db125f722b5dc729dc"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
}
Expand Down Expand Up @@ -254,6 +330,18 @@ paths:
"volume_1day_usd": 2086392323256.16,
"volume_1mth_usd": 57929168359984.54,
"price_usd": 9166.207274778093436220194944,
"chain_addresses": [
{
"chain_id": "ARBITRUM",
"network_id": "MAINNET",
"address": "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f"
},
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
},
Expand All @@ -272,6 +360,13 @@ paths:
"volume_1day_usd": 221580758173.49,
"volume_1mth_usd": 11816685174661.70,
"price_usd": 1.0,
"chain_addresses": [
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0xd233d1f6fd11640081abb8db125f722b5dc729dc"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
}
Expand Down Expand Up @@ -299,6 +394,18 @@ paths:
"volume_1day_usd": 2086392323256.16,
"volume_1mth_usd": 57929168359984.54,
"price_usd": 9166.207274778093436220194944,
"chain_addresses": [
{
"chain_id": "ARBITRUM",
"network_id": "MAINNET",
"address": "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f"
},
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
},
Expand All @@ -317,6 +424,13 @@ paths:
"volume_1day_usd": 221580758173.49,
"volume_1mth_usd": 11816685174661.70,
"price_usd": 1.0,
"chain_addresses": [
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0xd233d1f6fd11640081abb8db125f722b5dc729dc"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
}
Expand Down Expand Up @@ -344,6 +458,18 @@ paths:
"volume_1day_usd": 2086392323256.16,
"volume_1mth_usd": 57929168359984.54,
"price_usd": 9166.207274778093436220194944,
"chain_addresses": [
{
"chain_id": "ARBITRUM",
"network_id": "MAINNET",
"address": "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f"
},
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
},
Expand All @@ -362,6 +488,13 @@ paths:
"volume_1day_usd": 221580758173.49,
"volume_1mth_usd": 11816685174661.70,
"price_usd": 1.0,
"chain_addresses": [
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0xd233d1f6fd11640081abb8db125f722b5dc729dc"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
}
Expand Down Expand Up @@ -389,6 +522,18 @@ paths:
"volume_1day_usd": 2086392323256.16,
"volume_1mth_usd": 57929168359984.54,
"price_usd": 9166.207274778093436220194944,
"chain_addresses": [
{
"chain_id": "ARBITRUM",
"network_id": "MAINNET",
"address": "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f"
},
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
},
Expand All @@ -407,6 +552,13 @@ paths:
"volume_1day_usd": 221580758173.49,
"volume_1mth_usd": 11816685174661.70,
"price_usd": 1.0,
"chain_addresses": [
{
"chain_id": "ETHEREUM",
"network_id": "MAINNET",
"address": "0xd233d1f6fd11640081abb8db125f722b5dc729dc"
}
],
"data_start": "2010-07-17",
"data_end": "2019-11-03"
}
Expand Down Expand Up @@ -548,7 +700,7 @@ paths:
examples:
Example response:
value: {
"time": "2024-04-17T11:55:52.4873909Z",
"time": "2024-04-29T10:40:19.1488249Z",
"asset_id_base": "BTC",
"asset_id_quote": "USD",
"rate": 10000.0
Expand All @@ -559,7 +711,7 @@ paths:
examples:
Example response:
value: {
"time": "2024-04-17T11:55:52.4873909Z",
"time": "2024-04-29T10:40:19.1488249Z",
"asset_id_base": "BTC",
"asset_id_quote": "USD",
"rate": 10000.0
Expand All @@ -570,7 +722,7 @@ paths:
examples:
Example response:
value: {
"time": "2024-04-17T11:55:52.4873909Z",
"time": "2024-04-29T10:40:19.1488249Z",
"asset_id_base": "BTC",
"asset_id_quote": "USD",
"rate": 10000.0
Expand All @@ -581,7 +733,7 @@ paths:
examples:
Example response:
value: {
"time": "2024-04-17T11:55:52.4873909Z",
"time": "2024-04-29T10:40:19.1488249Z",
"asset_id_base": "BTC",
"asset_id_quote": "USD",
"rate": 10000.0
Expand Down Expand Up @@ -6393,6 +6545,12 @@ components:
description: Gets or sets the maximum supply of the asset.
format: double
nullable: true
chain_addresses:
type: array
items:
$ref: '#/components/schemas/v1.ChainNetworkAddress'
description: ''
nullable: true
data_start:
type: string
nullable: true
Expand All @@ -6403,6 +6561,23 @@ components:
readOnly: true
additionalProperties: false
description: Represents an asset.
v1.ChainNetworkAddress:
type: object
properties:
chain_id:
type: string
description: Gets or sets chain id
nullable: true
network_id:
type: string
description: Gets or sets network id
nullable: true
address:
type: string
description: Gets or sets chain address
nullable: true
additionalProperties: false
description: Contains information about assets' chain network addresses
v1.Exchange:
type: object
properties:
Expand Down

0 comments on commit 8422377

Please sign in to comment.