* Source Strava: http -> https * Source Strava: update docs * Source Strava: update docs * Source Strava: update docs * Source Strava: add allowed hosts * Automated Change * Source Strava: add date-time format * Source Strava: add date-time format * auto-bump connector version --------- Co-authored-by: artem1205 <artem1205@users.noreply.github.com> Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
110 lines
3.1 KiB
JSON
110 lines
3.1 KiB
JSON
{
|
|
"documentationUrl": "https://docs.airbyte.com/integrations/sources/strava",
|
|
"connectionSpecification": {
|
|
"$schema": "https://json-schema.org/draft-07/schema#",
|
|
"title": "Strava Spec",
|
|
"type": "object",
|
|
"required": [
|
|
"client_id",
|
|
"client_secret",
|
|
"refresh_token",
|
|
"athlete_id",
|
|
"start_date"
|
|
],
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"auth_type": {
|
|
"type": "string",
|
|
"const": "Client",
|
|
"enum": ["Client"],
|
|
"default": "Client"
|
|
},
|
|
"client_id": {
|
|
"type": "string",
|
|
"description": "The Client ID of your Strava developer application.",
|
|
"title": "Client ID",
|
|
"pattern": "^[0-9_\\-]+$",
|
|
"examples": ["12345"],
|
|
"order": 0
|
|
},
|
|
"client_secret": {
|
|
"type": "string",
|
|
"description": "The Client Secret of your Strava developer application.",
|
|
"title": "Client Secret",
|
|
"pattern": "^[0-9a-fA-F]+$",
|
|
"examples": ["fc6243f283e51f6ca989aab298b17da125496f50"],
|
|
"airbyte_secret": true,
|
|
"order": 1
|
|
},
|
|
"refresh_token": {
|
|
"type": "string",
|
|
"description": "The Refresh Token with the activity: read_all permissions.",
|
|
"title": "Refresh Token",
|
|
"pattern": "^[0-9a-fA-F]+$",
|
|
"examples": ["fc6243f283e51f6ca989aab298b17da125496f50"],
|
|
"airbyte_secret": true,
|
|
"order": 2
|
|
},
|
|
"athlete_id": {
|
|
"type": "integer",
|
|
"description": "The Athlete ID of your Strava developer application.",
|
|
"title": "Athlete ID",
|
|
"pattern": "^[0-9_\\-]+$",
|
|
"examples": ["17831421"],
|
|
"order": 3
|
|
},
|
|
"start_date": {
|
|
"type": "string",
|
|
"description": "UTC date and time. Any data before this date will not be replicated.",
|
|
"title": "Start Date",
|
|
"examples": ["2021-03-01T00:00:00Z"],
|
|
"format": "date-time",
|
|
"order": 4
|
|
}
|
|
}
|
|
},
|
|
"advanced_auth": {
|
|
"auth_flow_type": "oauth2.0",
|
|
"predicate_key": ["auth_type"],
|
|
"predicate_value": "Client",
|
|
"oauth_config_specification": {
|
|
"complete_oauth_output_specification": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"refresh_token": {
|
|
"type": "string",
|
|
"path_in_connector_config": ["refresh_token"]
|
|
}
|
|
}
|
|
},
|
|
"complete_oauth_server_input_specification": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"client_id": {
|
|
"type": "string"
|
|
},
|
|
"client_secret": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"complete_oauth_server_output_specification": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"client_id": {
|
|
"type": "string",
|
|
"path_in_connector_config": ["client_id"]
|
|
},
|
|
"client_secret": {
|
|
"type": "string",
|
|
"path_in_connector_config": ["client_secret"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|