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

Correct coinmarket spec #18790

Merged
merged 5 commits into from
Nov 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
- name: CoinMarketCap
sourceDefinitionId: 239463f5-64bb-4d88-b4bd-18ce673fd572
dockerRepository: airbyte/source-coinmarketcap
dockerImageTag: 0.1.0
dockerImageTag: 0.1.1
documentationUrl: https://docs.airbyte.com/integrations/sources/coinmarketcap
sourceType: api
releaseStage: alpha
Expand Down
61 changes: 29 additions & 32 deletions airbyte-config/init/src/main/resources/seed/source_specs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2286,50 +2286,47 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-coinmarketcap:0.1.0"
- dockerImage: "airbyte/source-coinmarketcap:0.1.1"
spec:
documentationUrl: https://docs.airbyte.com/integrations/sources/coinmarketcap
documentationUrl: "https://docs.airbyte.com/integrations/sources/coinmarketcap"
connectionSpecification:
$schema: http://json-schema.org/draft-07/schema#
title: Coinmarketcap Spec
type: object
$schema: "http://json-schema.org/draft-07/schema#"
title: "Coinmarketcap Spec"
type: "object"
required:
- api_key
- data_type
- "api_key"
- "data_type"
additionalProperties: true
properties:
api_key:
title: API Key
type: string
description: >-
Your API Key. See <a
href="https://coinmarketcap.com/api/documentation/v1/#section/Authentication">here</a>. The token is
case sensitive.
title: "API Key"
type: "string"
description: "Your API Key. See <a href=\"https://coinmarketcap.com/api/documentation/v1/#section/Authentication\"\
>here</a>. The token is case sensitive."
airbyte_secret: true
data_type:
title: Data type
type: string
title: "Data type"
type: "string"
enum:
- latest
- historical
description: >-
/latest: Latest market ticker quotes and averages for cryptocurrencies and exchanges.
/historical: Intervals of historic market data like OHLCV data or data for use in charting libraries. See <a
href="https://coinmarketcap.com/api/documentation/v1/#section/Endpoint-Overview">here</a>.
- "latest"
- "historical"
description: "/latest: Latest market ticker quotes and averages for cryptocurrencies\
\ and exchanges. /historical: Intervals of historic market data like OHLCV\
\ data or data for use in charting libraries. See <a href=\"https://coinmarketcap.com/api/documentation/v1/#section/Endpoint-Overview\"\
>here</a>."
symbols:
title: Symbol
type: array
items: {
"type": "string"
}
description: Cryptocurrency symbols. (only used for quotes stream)
title: "Symbol"
type: "array"
items:
type: "string"
description: "Cryptocurrency symbols. (only used for quotes stream)"
minItems: 1
examples:
- AVAX
- BTC
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- "AVAX"
- "BTC"
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-commercetools:0.1.0"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/commercetools"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_coinmarketcap ./source_coinmarketcap
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.0
LABEL io.airbyte.version=0.1.1
LABEL io.airbyte.name=airbyte/source-coinmarketcap
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ connectionSpecification:
symbols:
title: Symbol
type: array
items: {
"type": "string"
}
items:
type: string
description: Cryptocurrency symbols. (only used for quotes stream)
minItems: 1
examples:
Expand Down