1
0
mirror of synced 2026-01-06 06:04:16 -05:00
Files
airbyte/airbyte-integrations/connectors/source-paystack/source_paystack/spec.json
folusoogunlana 0e70491e0f 🎉 New Source: Paystack 🌟 (#7214)
* feat(67): add support for 'spec' using Python HTTP API source template and stripe as an example

* chore(67): add sample state and config

* feat(67): add check functionality for paystack source by fetching first customer

* feat(67): add support for discover and read customer stream

* feat(67): add paystack source connector to UI

* feat(67): update source definitions to use 0.1.0

* Hacktoberfest 67 paystack source (#1)

* feat(67): add support for 'spec' using Python HTTP API source template and stripe as an example

* chore(67): add sample state and config

* feat(67): add check functionality for paystack source by fetching first customer

* feat(67): add support for discover and read customer stream

* feat(67): add paystack source connector to UI

* feat(67): update source definitions to use 0.1.0

Co-authored-by: Foluso Ogunlana <foluso_ogunlana@stearsng.com>

* feat(67): update stream state cursor field to be integer and to match API record field name

* chore(67): add unit tests for source and streams

* chore(67): store formatted date time in state to match type of catalog

* chore(67): add configuration for acceptance integration tests

* docs(67): update docs and summary with paystack

* chore(67): add essential schemas to be catalogued for new streams

* feat(67): add support for critical streams - transactions subscriptions transfers refunds settlements

* docs(67): update image and bootstrap

* chore(67): update builds.md to include paystack badge

* docs(67): add changelog and source definition JSON file

* docs(67): add paystack to integrations readme

* chore(67): update check_connection to airbyte standard

* refactor to simplify streams and remove constants file

* fix(67): correct "null, null" values in schemas

* chore(67): update file formatting with gradle format

Co-authored-by: Foluso <5675998+foogunlana@users.noreply.github.com>
2021-11-01 23:37:00 +05:30

32 lines
1.3 KiB
JSON

{
"documentationUrl": "https://docs.airbyte.io/integrations/sources/paystack",
"connectionSpecification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Paystack Source Spec",
"type": "object",
"required": ["secret_key", "start_date"],
"additionalProperties": false,
"properties": {
"secret_key": {
"type": "string",
"pattern": "^(s|r)k_(live|test)_[a-zA-Z0-9]+$",
"description": "Paystack API key (usually starts with 'sk_live_'; find yours <a href=\"https://dashboard.paystack.com/#/settings/developer\">here</a>).",
"airbyte_secret": true
},
"start_date": {
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
"description": "UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated.",
"examples": ["2017-01-25T00:00:00Z"]
},
"lookback_window_days": {
"type": "integer",
"title": "Lookback Window (in days)",
"default": 0,
"minimum": 0,
"description": "When set, the connector will always reload data from the past N days, where N is the value set here. This is useful if your data is updated after creation."
}
}
}
}