Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 #167

Open
wants to merge 18 commits into
base: dependabot/maven/data-api/java-rest/com.squareup.okio-okio-3.4.0
Choose a base branch
from
144 changes: 102 additions & 42 deletions data-api/coinapi-marketdata-rest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,13 @@ paths:
responses:
'200':
description: Success
/v1/throw:
get:
tags:
- Http500
responses:
'200':
description: Success
/:
get:
tags:
Expand Down Expand Up @@ -690,11 +697,17 @@ paths:
type: array
items:
$ref: '#/components/schemas/v1.Metric'
/v1/metrics/snapshot:
'/v1/metrics/by-exchange/{exchange_id}':
get:
tags:
- Metrics
summary: Get all metrics.
summary: Get all data metrics.
parameters:
- name: exchange_id
in: path
required: true
schema:
type: string
responses:
'200':
description: successful operation
Expand All @@ -703,22 +716,22 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/v1.GeneralData'
$ref: '#/components/schemas/v1.Metric'
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/v1.GeneralData'
$ref: '#/components/schemas/v1.Metric'
text/json:
schema:
type: array
items:
$ref: '#/components/schemas/v1.GeneralData'
$ref: '#/components/schemas/v1.Metric'
application/x-msgpack:
schema:
type: array
items:
$ref: '#/components/schemas/v1.GeneralData'
$ref: '#/components/schemas/v1.Metric'
'/v1/metrics/exchange/{exchange_id}/current':
get:
tags:
Expand Down Expand Up @@ -2121,6 +2134,36 @@ components:
type: integer
description: Gets or sets a value indicating whether the asset is a cryptocurrency.
format: int32
data_quote_start:
type: string
description: Gets or sets the start date of quote data.
format: date-time
nullable: true
data_quote_end:
type: string
description: Gets or sets the end date of quote data.
format: date-time
nullable: true
data_orderbook_start:
type: string
description: Gets or sets the start date of order book data.
format: date-time
nullable: true
data_orderbook_end:
type: string
description: Gets or sets the end date of order book data.
format: date-time
nullable: true
data_trade_start:
type: string
description: Gets or sets the start date of trade data.
format: date-time
nullable: true
data_trade_end:
type: string
description: Gets or sets the end date of trade data.
format: date-time
nullable: true
data_symbols_count:
type: integer
description: Gets or sets the number of symbols.
Expand Down Expand Up @@ -2166,22 +2209,14 @@ components:
description: Gets or sets the maximum supply of the asset.
format: double
nullable: true
metric_id:
type: array
items:
type: string
description: Gets or sets the metric IDs associated with the asset.
nullable: true
data_start:
type: string
description: Time of data starting.
format: date-time
nullable: true
readOnly: true
data_end:
type: string
description: Time of data ending.
format: date-time
nullable: true
readOnly: true
additionalProperties: false
description: Represents an asset.
v1.Exchange:
Expand All @@ -2199,6 +2234,49 @@ components:
type: string
description: Gets or sets the name of the exchange.
nullable: true
data_start:
type: string
nullable: true
readOnly: true
data_end:
type: string
nullable: true
readOnly: true
data_quote_start:
type: string
description: Gets or sets the start date of quote data.
format: date-time
nullable: true
data_quote_end:
type: string
description: Gets or sets the end date of quote data.
format: date-time
nullable: true
data_orderbook_start:
type: string
description: Gets or sets the start date of order book data.
format: date-time
nullable: true
data_orderbook_end:
type: string
description: Gets or sets the end date of order book data.
format: date-time
nullable: true
data_trade_start:
type: string
description: Gets or sets the start date of trade data.
format: date-time
nullable: true
data_trade_end:
type: string
description: Gets or sets the end date of trade data.
format: date-time
nullable: true
data_trade_count:
type: integer
description: Gets or sets the number of trades.
format: int64
nullable: true
data_symbols_count:
type: integer
description: Gets or sets the number of symbols.
Expand Down Expand Up @@ -2232,16 +2310,6 @@ components:
description: Gets or sets the list of icons for the exchange.
nullable: true
readOnly: true
data_start:
type: string
description: Time of data starting.
format: date-time
nullable: true
data_end:
type: string
description: Time of data ending.
format: date-time
nullable: true
additionalProperties: false
description: Represents an exchange.
v1.ExchangeRate:
Expand Down Expand Up @@ -2719,6 +2787,14 @@ components:
type: string
description: The display description of the contract.
nullable: true
data_start:
type: string
nullable: true
readOnly: true
data_end:
type: string
nullable: true
readOnly: true
data_quote_start:
type: string
description: The start date of quote data.
Expand Down Expand Up @@ -2818,22 +2894,6 @@ components:
description: The size precision.
format: double
nullable: true
metric_id:
type: array
items:
type: string
description: The list of metric identifiers.
nullable: true
data_start:
type: string
description: Time when the data starting.
format: date-time
nullable: true
data_end:
type: string
description: Time where the data ending.
format: date-time
nullable: true
additionalProperties: false
description: Represents a symbol data model.
v1.SymbolMapping:
Expand Down