1
0
mirror of synced 2025-12-26 14:02:10 -05:00
Files
airbyte/airbyte-integrations/connectors/source-github/source_github/spec.json
Arthur Galuza 51d406d6f2 🎉 Source Github: Add MultipleTokenAuthenticator (#5223)
* Add multiple token authenticator

* Add MultipleTokenAuthenticator

* Upd docs

* Refactor

* Upd docs

* Fix merge typo

* Upd multiple token support: switch to list of tokens

* Upd multiple token support: refactoring

* Update airbyte-integrations/connectors/source-github/source_github/spec.json

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>

* Update airbyte-integrations/connectors/source-github/source_github/spec.json

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>

* Cleanup, switch to MultipleTokenAuthenticator completely

* Upd changelog

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
2021-08-19 08:41:14 +03:00

30 lines
1.5 KiB
JSON

{
"documentationUrl": "https://docs.airbyte.io/integrations/sources/github",
"connectionSpecification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Github Source Spec",
"type": "object",
"required": ["access_token", "start_date", "repository"],
"additionalProperties": false,
"properties": {
"access_token": {
"type": "string",
"title": "Access Tokens",
"description": "Log into Github and then generate a <a href=\"https://github.com/settings/tokens\"> personal access token</a>. To load balance your API quota consumption across multiple API tokens, input multiple tokens separated with \",\"",
"airbyte_secret": true
},
"repository": {
"type": "string",
"examples": ["airbytehq/airbyte", "airbytehq/*"],
"description": "Space-delimited list of GitHub repositories/organizations, e.g. `airbytehq/airbyte` for single repository and `airbytehq/*` for get all repositories from organization"
},
"start_date": {
"type": "string",
"description": "The date from which you'd like to replicate data for GitHub in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only in the following incremental streams: comments, commits and issues.",
"examples": ["2021-03-01T00:00:00Z"],
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"
}
}
}
}