Transistor Episode (transistor_episode_v1)

Replicate Transistor Episodes into your database.

To get set up, run this code from the WebhookDB CLI:

webhookdb integrations create transistor_episode_v1

Source documentation for this API: https://developers.transistor.fm/#Episode

Features

Dependents
This replicator is required for the creation of the following dependents:
Supports Webhooks
Supports Backfilling

Schema

Tables replicated from Transistor Episodes have this schema. Note that the data types listed are for Postgres; when replicating to other databases, other data types maybe used.

Column Type Indexed
pk bigint  
transistor_id text  
author text  
created_at timestamptz
duration integer  
keywords text  
number integer
published_at timestamptz
season integer
show_id text
status text  
title text  
type text  
updated_at timestamptz
transcript_text text  
api_format integer  
logical_summary text  
logical_description text  
data* jsonb  

* The data column contains the raw payload from the webhook or API. In many cases there is no canonical form, like if a webhook and API request return two different versions of the same resource. In that case we try to keep the most coherent and detailed resource.”

Table definition

This definition can also be generated through webhookdb fixture transistor_episode_v1.

CREATE TABLE public.transistor_episode_v1_fixture (
  pk bigserial PRIMARY KEY,
  transistor_id text UNIQUE NOT NULL,
  author text,
  created_at timestamptz,
  duration integer,
  keywords text,
  number integer,
  published_at timestamptz,
  season integer,
  show_id text,
  status text,
  title text,
  type text,
  updated_at timestamptz,
  transcript_text text,
  api_format integer,
  logical_summary text,
  logical_description text,
  data jsonb NOT NULL
);
CREATE INDEX IF NOT EXISTS svi_fixture_created_at_idx ON public.transistor_episode_v1_fixture (created_at);
CREATE INDEX IF NOT EXISTS svi_fixture_number_idx ON public.transistor_episode_v1_fixture (number);
CREATE INDEX IF NOT EXISTS svi_fixture_published_at_idx ON public.transistor_episode_v1_fixture (published_at);
CREATE INDEX IF NOT EXISTS svi_fixture_season_idx ON public.transistor_episode_v1_fixture (season);
CREATE INDEX IF NOT EXISTS svi_fixture_show_id_idx ON public.transistor_episode_v1_fixture (show_id);
CREATE INDEX IF NOT EXISTS svi_fixture_updated_at_idx ON public.transistor_episode_v1_fixture (updated_at);