1
0
mirror of synced 2026-01-08 03:06:34 -05:00
Files
airbyte/airbyte-integrations/connectors/source-youtube-analytics/source_youtube_analytics/spec.json
Daryna Ishchenko 3443438de7 🐛Source Youtube Analytics: migrated to advancedAuth (#26420)
* migrated to advancedAuth

* added changelog

* Automated Change

* removed auth_type

---------

Co-authored-by: darynaishchenko <darynaishchenko@users.noreply.github.com>
2023-05-26 17:48:52 +03:00

80 lines
2.3 KiB
JSON

{
"documentationUrl": "https://docs.airbyte.com/integrations/sources/youtube-analytics",
"connectionSpecification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "YouTube Analytics Spec",
"type": "object",
"required": ["credentials"],
"additionalProperties": true,
"properties": {
"credentials": {
"title": "Authenticate via OAuth 2.0",
"type": "object",
"required": ["client_id", "client_secret", "refresh_token"],
"additionalProperties": true,
"properties": {
"client_id": {
"title": "Client ID",
"type": "string",
"description": "The Client ID of your developer application",
"airbyte_secret": true
},
"client_secret": {
"title": "Client Secret",
"type": "string",
"description": "The client secret of your developer application",
"airbyte_secret": true
},
"refresh_token": {
"title": "Refresh Token",
"type": "string",
"description": "A refresh token generated using the above client ID and secret",
"airbyte_secret": true
}
}
}
}
},
"advanced_auth": {
"auth_flow_type": "oauth2.0",
"oauth_config_specification": {
"complete_oauth_output_specification": {
"type": "object",
"additionalProperties": true,
"properties": {
"refresh_token": {
"type": "string",
"path_in_connector_config": ["credentials", "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": true,
"properties": {
"client_id": {
"type": "string",
"path_in_connector_config": ["credentials", "client_id"]
},
"client_secret": {
"type": "string",
"path_in_connector_config": ["credentials", "client_secret"]
}
}
}
}
}
}