1
0
mirror of synced 2026-01-06 06:04:16 -05:00
Files
airbyte/airbyte-integrations/connectors/source-gitlab/source_gitlab/spec.json
oleh.zorenko 51a2e45c50 🐛 Source Gitlab: fix pattern field in spec file, remove unused fields from config files, improve caching mechanism (#6932)
* Fix SAT

Fix how cache is used in this connector.
Fix pattern field in spec file.
Remove unused fields from invalid_config.json and sample_config.json files.

* Update docs

* Use cache from CDK

* Bump connector's version + update docs
2021-10-12 10:39:55 +03:00

40 lines
1.5 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$"
}
}
}
}