Support syncing multiple repositories/organizations Co-authored-by: ykurochkin <y.kurochkin@zazmic.com>
34 lines
1.4 KiB
JSON
34 lines
1.4 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"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"access_token": {
|
|
"type": "string",
|
|
"description": "Log into Github and then generate a <a href=\"https://github.com/settings/tokens\"> personal access token</a>.",
|
|
"airbyte_secret": true
|
|
},
|
|
"organization": {
|
|
"type": "string",
|
|
"examples": ["airbytehq"],
|
|
"description": "Space-delimited list of GitHub organizations. e.g. `airbytehq singer-io`"
|
|
},
|
|
"repository": {
|
|
"type": "string",
|
|
"examples": ["airbytehq/airbyte"],
|
|
"description": "Space-delimited list of GitHub repositories, e.g. `airbytehq/airbyte singer-io/tap-github`"
|
|
},
|
|
"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$"
|
|
}
|
|
}
|
|
}
|
|
}
|