Skip to content

Commit e63a751

Browse files
committed
update openapi file
1 parent b61e23c commit e63a751

File tree

2 files changed

+31
-18
lines changed

2 files changed

+31
-18
lines changed

coinapi/indexes-api-rest/spec/openapi.json

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
2-
"openapi": "3.0.1",
2+
"openapi": "3.0.4",
33
"info": {
4-
"title": "Indexes REST API",
5-
"description": "",
4+
"title": "CoinAPI Indexes REST API",
65
"contact": {
76
"name": "API BRICKS LTD",
87
"url": "https://www.coinapi.io",
@@ -26,7 +25,7 @@
2625
"Metadata"
2726
],
2827
"summary": "List all exchanges",
29-
"description": "Get a detailed list of exchanges provided by the system.\r\n \r\n:::info\r\nProperties of the output are providing aggregated information from across all symbols related to the specific exchange. If you need to calculate your aggregation (e.g., limiting only the particular type of symbols), you should use /v1/symbols endpoint as a data source.\r\n:::",
28+
"description": "Get a detailed list of exchanges provided by the system.\n \n:::info\nProperties of the output are providing aggregated information from across all symbols related to the specific exchange. If you need to calculate your aggregation (e.g., limiting only the particular type of symbols), you should use /v1/symbols endpoint as a data source.\n:::",
3029
"parameters": [
3130
{
3231
"name": "filter_exchange_id",
@@ -1274,7 +1273,7 @@
12741273
"Periods"
12751274
],
12761275
"summary": "List all periods",
1277-
"description": "Get full list of supported time periods\r\n \r\n### Available periods\r\n \r\nTime unit | Period identifiers\r\n--------- | -----------\r\nSecond | 1SEC, 2SEC, 3SEC, 4SEC, 5SEC, 6SEC, 10SEC, 15SEC, 20SEC, 30SEC\r\nMinute | 1MIN, 2MIN, 3MIN, 4MIN, 5MIN, 6MIN, 10MIN, 15MIN, 20MIN, 30MIN\r\nHour | 1HRS, 2HRS, 3HRS, 4HRS, 6HRS, 8HRS, 12HRS\r\nDay | 1DAY, 2DAY, 3DAY, 5DAY, 7DAY, 10DAY\r\nMonth | 1MTH, 2MTH, 3MTH, 4MTH, 6MTH\r\nYear | 1YRS, 2YRS, 3YRS, 4YRS, 5YRS\r\n \r\n:::tip\r\nYou can assume that we will not remove any periods from this response, however, we may add new ones.\r\n:::",
1276+
"description": "Get full list of supported time periods\n \n### Available periods\n \nTime unit | Period identifiers\n--------- | -----------\nSecond | 1SEC, 2SEC, 3SEC, 4SEC, 5SEC, 6SEC, 10SEC, 15SEC, 20SEC, 30SEC\nMinute | 1MIN, 2MIN, 3MIN, 4MIN, 5MIN, 6MIN, 10MIN, 15MIN, 20MIN, 30MIN\nHour | 1HRS, 2HRS, 3HRS, 4HRS, 6HRS, 8HRS, 12HRS\nDay | 1DAY, 2DAY, 3DAY, 5DAY, 7DAY, 10DAY\nMonth | 1MTH, 2MTH, 3MTH, 4MTH, 6MTH\nYear | 1YRS, 2YRS, 3YRS, 4YRS, 5YRS\n \n:::tip\nYou can assume that we will not remove any periods from this response, however, we may add new ones.\n:::",
12781277
"responses": {
12791278
"200": {
12801279
"description": "successful operation",
@@ -1686,17 +1685,26 @@
16861685
}
16871686
},
16881687
"securitySchemes": {
1689-
"ApiKey": {
1688+
"APIKey": {
16901689
"type": "apiKey",
1691-
"description": "CoinApi API key needed to access the endpoints",
1692-
"name": "X-CoinAPI-Key",
1690+
"description": "API Key is required to access the endpoints",
1691+
"name": "Authorization",
1692+
"in": "header"
1693+
},
1694+
"JWT": {
1695+
"type": "apiKey",
1696+
"description": "JWT token needed to access the endpoints",
1697+
"name": "Authorization",
16931698
"in": "header"
16941699
}
16951700
}
16961701
},
16971702
"security": [
16981703
{
1699-
"ApiKey": [ ]
1704+
"APIKey": [ ]
1705+
},
1706+
{
1707+
"JWT": [ ]
17001708
}
17011709
],
17021710
"tags": [

coinapi/indexes-api-rest/spec/openapi.yaml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
openapi: 3.0.1
1+
openapi: 3.0.4
22
info:
3-
title: Indexes REST API
4-
description: ''
3+
title: CoinAPI Indexes REST API
54
contact:
65
name: API BRICKS LTD
76
url: https://www.coinapi.io
@@ -18,7 +17,7 @@ paths:
1817
tags:
1918
- Metadata
2019
summary: List all exchanges
21-
description: "Get a detailed list of exchanges provided by the system.\r\n \r\n:::info\r\nProperties of the output are providing aggregated information from across all symbols related to the specific exchange. If you need to calculate your aggregation (e.g., limiting only the particular type of symbols), you should use /v1/symbols endpoint as a data source.\r\n:::"
20+
description: "Get a detailed list of exchanges provided by the system.\n \n:::info\nProperties of the output are providing aggregated information from across all symbols related to the specific exchange. If you need to calculate your aggregation (e.g., limiting only the particular type of symbols), you should use /v1/symbols endpoint as a data source.\n:::"
2221
parameters:
2322
- name: filter_exchange_id
2423
in: query
@@ -927,7 +926,7 @@ paths:
927926
tags:
928927
- Periods
929928
summary: List all periods
930-
description: "Get full list of supported time periods\r\n \r\n### Available periods\r\n \r\nTime unit | Period identifiers\r\n--------- | -----------\r\nSecond | 1SEC, 2SEC, 3SEC, 4SEC, 5SEC, 6SEC, 10SEC, 15SEC, 20SEC, 30SEC\r\nMinute | 1MIN, 2MIN, 3MIN, 4MIN, 5MIN, 6MIN, 10MIN, 15MIN, 20MIN, 30MIN\r\nHour | 1HRS, 2HRS, 3HRS, 4HRS, 6HRS, 8HRS, 12HRS\r\nDay | 1DAY, 2DAY, 3DAY, 5DAY, 7DAY, 10DAY\r\nMonth | 1MTH, 2MTH, 3MTH, 4MTH, 6MTH\r\nYear | 1YRS, 2YRS, 3YRS, 4YRS, 5YRS\r\n \r\n:::tip\r\nYou can assume that we will not remove any periods from this response, however, we may add new ones.\r\n:::"
929+
description: "Get full list of supported time periods\n \n### Available periods\n \nTime unit | Period identifiers\n--------- | -----------\nSecond | 1SEC, 2SEC, 3SEC, 4SEC, 5SEC, 6SEC, 10SEC, 15SEC, 20SEC, 30SEC\nMinute | 1MIN, 2MIN, 3MIN, 4MIN, 5MIN, 6MIN, 10MIN, 15MIN, 20MIN, 30MIN\nHour | 1HRS, 2HRS, 3HRS, 4HRS, 6HRS, 8HRS, 12HRS\nDay | 1DAY, 2DAY, 3DAY, 5DAY, 7DAY, 10DAY\nMonth | 1MTH, 2MTH, 3MTH, 4MTH, 6MTH\nYear | 1YRS, 2YRS, 3YRS, 4YRS, 5YRS\n \n:::tip\nYou can assume that we will not remove any periods from this response, however, we may add new ones.\n:::"
931930
responses:
932931
'200':
933932
description: successful operation
@@ -1254,13 +1253,19 @@ components:
12541253
additionalProperties: false
12551254
description: Represents a timeseries period used in exchange rate data.
12561255
securitySchemes:
1257-
ApiKey:
1256+
APIKey:
12581257
type: apiKey
1259-
description: CoinApi API key needed to access the endpoints
1260-
name: X-CoinAPI-Key
1258+
description: API Key is required to access the endpoints
1259+
name: Authorization
1260+
in: header
1261+
JWT:
1262+
type: apiKey
1263+
description: JWT token needed to access the endpoints
1264+
name: Authorization
12611265
in: header
12621266
security:
1263-
- ApiKey: [ ]
1267+
- APIKey: [ ]
1268+
- JWT: [ ]
12641269
tags:
12651270
- name: Periods
12661271
description: <span data-status-page="28926"></span>

0 commit comments

Comments
 (0)