1
0
mirror of synced 2026-01-01 09:02:59 -05:00
Files
airbyte/airbyte-integrations/connectors/source-posthog/source_posthog/spec.json
Arsen Losenko 7c31400ac3 Source Posthog: Mark datefields in spec as dates (#22906)
* Source Posthog: Mark datefields in spec as dates

* Update changelog

* auto-bump connector version

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2023-04-03 19:21:16 +03:00

33 lines
1.2 KiB
JSON

{
"documentationUrl": "https://docs.airbyte.com/integrations/sources/posthog",
"connectionSpecification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "PostHog Spec",
"type": "object",
"required": ["api_key", "start_date"],
"properties": {
"start_date": {
"title": "Start Date",
"type": "string",
"description": "The date from which you'd like to replicate the data. Any data before this date will not be replicated.",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
"examples": ["2021-01-01T00:00:00Z"],
"format": "date-time"
},
"api_key": {
"type": "string",
"airbyte_secret": true,
"title": "API Key",
"description": "API Key. See the <a href=\"https://docs.airbyte.com/integrations/sources/posthog\">docs</a> for information on how to generate this key."
},
"base_url": {
"type": "string",
"default": "https://app.posthog.com",
"title": "Base URL",
"description": "Base PostHog url. Defaults to PostHog Cloud (https://app.posthog.com).",
"examples": ["https://posthog.example.com"]
}
}
}
}