Skip to content

Transcript API endpoint#2158

Merged
wesbos merged 1 commit intomainfrom
cursor/transcript-api-endpoint-89aa
Mar 11, 2026
Merged

Transcript API endpoint#2158
wesbos merged 1 commit intomainfrom
cursor/transcript-api-endpoint-89aa

Conversation

@wesbos
Copy link
Copy Markdown
Collaborator

@wesbos wesbos commented Mar 11, 2026

Add a new API endpoint for show transcripts and link to it from existing show APIs.

Open in Web Open in Cursor 

- Create GET /api/transcripts/[number] endpoint that returns:
  - show_title
  - show_number
  - utterances (speaker, speaker_name, transcript, start, end)
- Add transcript property to shows API endpoints linking to transcript API

Co-authored-by: wesbos <wesbos@gmail.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented Mar 11, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
syntax-website Ready Ready Preview Mar 11, 2026 0:25am

Request Review

@wesbos wesbos marked this pull request as ready for review March 11, 2026 00:26
@wesbos wesbos merged commit ec9a548 into main Mar 11, 2026
3 of 4 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 11, 2026

Bundle Report

Changes will increase total bundle size by 1.95kB (0.03%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
website-client-esm 1.95MB 3 bytes (0.0%) ⬆️
website-server-esm 5.45MB 1.95kB (0.04%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: website-client-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
_app/immutable/nodes/3.D_f8lC8s.js (New) 33.9kB 33.9kB 100.0% 🚀
_app/immutable/chunks/entry.*.js 2 bytes 30.22kB 0.01%
_app/immutable/chunks/SelectMenu.*.js (New) 14.41kB 14.41kB 100.0% 🚀
_app/immutable/chunks/HairButton.*.js (New) 8.2kB 8.2kB 100.0% 🚀
_app/immutable/chunks/UserSubmissionForm.*.js 1 bytes 7.45kB 0.01%
_app/immutable/nodes/16.*.js (New) 4.89kB 4.89kB 100.0% 🚀
_app/immutable/nodes/24.EEf9_IJu.js (New) 3.55kB 3.55kB 100.0% 🚀
_app/immutable/chunks/variable_color_svg.*.js (New) 778 bytes 778 bytes 100.0% 🚀
_app/immutable/nodes/2.BxZIx_ke.js (New) 736 bytes 736 bytes 100.0% 🚀
_app/immutable/chunks/click_outside_dialog.CG_JEa0p.js (New) 669 bytes 669 bytes 100.0% 🚀
_app/immutable/entry/start._j_NFIFi.js (New) 424 bytes 424 bytes 100.0% 🚀
_app/immutable/nodes/3.*.js (Deleted) -33.9kB 0 bytes -100.0% 🗑️
_app/immutable/chunks/SelectMenu.DBl_lMTn.js (Deleted) -14.41kB 0 bytes -100.0% 🗑️
_app/immutable/chunks/HairButton.BIUu_Twf.js (Deleted) -8.2kB 0 bytes -100.0% 🗑️
_app/immutable/nodes/16.CF_6H0jr.js (Deleted) -4.89kB 0 bytes -100.0% 🗑️
_app/immutable/nodes/24.*.js (Deleted) -3.55kB 0 bytes -100.0% 🗑️
_app/immutable/chunks/variable_color_svg.B9d_ky2Q.js (Deleted) -778 bytes 0 bytes -100.0% 🗑️
_app/immutable/nodes/2.*.js (Deleted) -736 bytes 0 bytes -100.0% 🗑️
_app/immutable/chunks/click_outside_dialog.*.js (Deleted) -669 bytes 0 bytes -100.0% 🗑️
_app/immutable/entry/start.*.js (Deleted) -424 bytes 0 bytes -100.0% 🗑️
view changes for bundle: website-server-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
internal.js 1 bytes 17.65kB 0.01%
entries/endpoints/api/transcripts/_number_show_number_/_server.ts.js (New) 1.78kB 1.78kB 100.0% 🚀
entries/endpoints/api/shows/_number_show_number_/_server.ts.js 55 bytes 1.58kB 3.6%
entries/endpoints/api/shows/_server.ts.js 53 bytes 1.24kB 4.46%
entries/endpoints/api/shows/latest/_server.ts.js 55 bytes 1.23kB 4.68%

Files in entries/endpoints/api/transcripts/_number_show_number_/_server.ts.js:

  • ./src/routes/api/transcripts/[number=show_number]/+server.ts → Total Size: 1.1kB

Files in entries/endpoints/api/shows/_number_show_number_/_server.ts.js:

  • ./src/routes/api/shows/[number=show_number]/+server.ts → Total Size: 798 bytes

Files in entries/endpoints/api/shows/_server.ts.js:

  • ./src/routes/api/shows/+server.ts → Total Size: 479 bytes

Files in entries/endpoints/api/shows/latest/_server.ts.js:

  • ./src/routes/api/shows/latest/+server.ts → Total Size: 457 bytes

App Routes Affected:

App Route Size Change Total Size Change (%)
/api/shows/[number=show_number] 55 bytes 1.58kB 3.6%
/api/shows/latest 55 bytes 1.23kB 4.68%
/api/shows 53 bytes 1.24kB 4.46%
/api/transcripts/[number=show_number] (New) 1.78kB 1.78kB 100% 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants