version: 1
name: github_issues_to_jsonl
pipeline:
source:
type: rest
config:
base_url: https://api.github.com
path: /repos/faucet-hq/faucet-stream/issues
method: GET
auth:
type: bearer
config:
token: ${env:GITHUB_TOKEN}
query_params:
state: open
per_page: "100"
pagination:
type: LinkHeader
max_retries: 3
retry_backoff: 1
tolerated_http_errors: []
replication_method:
type: FullTable
primary_keys: ["id"]
partitions: []
schema_sample_size: 100
transforms:
- type: keys_case
config: { mode: snake }
sink:
type: jsonl
config:
path: ./out/issues.jsonl