1
0
mirror of synced 2026-01-06 15:03:36 -05:00
Files
airbyte/airbyte-integrations/connectors/source-gitlab/source_gitlab/spec.json
Yevhenii 94f1d217b8 🎉 Native Gitlab connector (#4027)
* Create Airbyte-Native connector for Gitlab

Co-authored-by: ykurochkin <y.kurochkin@zazmic.com>
2021-07-06 15:25:01 +03:00

48 lines
1.6 KiB
JSON

{
"documentationUrl": "https://docs.airbyte.io/integrations/sources/gitlab",
"connectionSpecification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Source Gitlab Singer Spec",
"type": "object",
"required": ["api_url", "private_token", "start_date"],
"additionalProperties": false,
"properties": {
"api_url": {
"type": "string",
"examples": ["gitlab.com"],
"description": "Please enter your basic URL from Gitlab instance",
"pattern": ["^gitlab[a-zA-Z0-9._-]*\\.com$"]
},
"private_token": {
"type": "string",
"description": "Log into your Gitlab account and then generate a personal Access Token.",
"airbyte_secret": true
},
"groups": {
"type": "string",
"examples": ["airbyte.io"],
"description": "Space-delimited list of groups. e.g. airbyte.io"
},
"projects": {
"type": "string",
"examples": ["airbyte.io/documentation"],
"description": "Space-delimited list of projects. e.g. airbyte.io/documentation meltano/tap-gitlab"
},
"start_date": {
"type": "string",
"description": "The date from which you'd like to replicate data for Gitlab API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated.",
"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$"
}
},
"anyOf": [
{
"required": ["groups"]
},
{
"required": ["projects"]
}
]
}
}