asyncapi: '2.0.0' info: title: Coindesk on Ably Hub version: '1.0.0' contact: name: Ably url: https://www.ably.io/contact email: support@ably.io description: | GTFS-R data on Coindesk's Bitcoin pricing license: name: Coindesk License Agreement url: 'https://www.coindesk.com/api' servers: ably: url: ws://realtime.ably.io description: Endpoint used by Ably's Realtime client libraries protocol: ws security: - apiKey: [] - jwt: [] - httpBearerToken: [] mqtt: url: mqtt://mqtt.ably.io:{port} description: Ably's MQTT endpoint variables: port: description: Secure connection (TLS) is available through port 8883. default: '8883' enum: - '1883' - '8883' security: - mqttApiKey: [] - mqttJwt: [] protocol: mqtt protocolVersion: '3.1.1' rest: url: https://rest.ably.io description: Ably REST API protocol: https defaultContentType: application/json channels: '[product:ably-coindesk/bitcoin]bitcoin:usd': subscribe: summary: Coindesk bitcoin prices message: payload: type: string description: The current price in USD components: securitySchemes: mqttApiKey: type: apiKey in: user description: >- Provide your API key's public part as the user and the API key's secret part as the password. Only usable over a secure connection. apiKey: type: apiKey in: user description: Provide your API key jwt: type: http scheme: bearer bearerFormat: JWT description: >- JWT generated matching the [Ably JWT requirements](https://www.ably.io/documentation/core-features/authentication#ably-jwt) mqttJwt: type: http scheme: bearer bearerFormat: JWT description: >- JWT generated matching the [Ably JWT requirements](https://www.ably.io/documentation/core-features/authentication#ably-jwt). Use the token as your user, and keep the password blank httpBearerToken: type: http scheme: bearer