惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
量子位
大猫的无限游戏
大猫的无限游戏
Hugging Face - Blog
Hugging Face - Blog
S
SegmentFault 最新的问题
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
Google DeepMind News
Google DeepMind News
小众软件
小众软件
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
MongoDB | Blog
MongoDB | Blog
B
Blog RSS Feed
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
Recent Announcements
Recent Announcements
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog
雷峰网
雷峰网
Jina AI
Jina AI
酷 壳 – CoolShell
酷 壳 – CoolShell

Buttondown's blog

Email could have been X.400 times better The physicists who convinced Fermilab to send Brazil's emails Better in-app previews Analytics 3.0 Subscriber ID variables Comments! Send latest premium action Automation filtering Free API subscribers Surveys in automations Reply to replies Labels for RSS feeds How Jeremy Singer-Vine curates curious datasets for readers 2023 (and what's next) Email vs web content Sort by engagement Better gift subscriptions How Andy Dehnart built a career reviewing television New email template Email-based automations Opt-in reply tracking Automatic alt text More social network integrations Sort by metadata Overlarge image warnings Automation tag actions Pause emails mid-flight Search tags and automations Gift via automations Subscriber-driving emails
OpenAPI spec for archives
Justin Duke · 2026-01-31 · via Buttondown's blog

If you've built a custom theme or done anything programmatic with your archive pages, you've probably had to reverse-engineer the data that Buttondown passes to your templates. What fields are available? What types are they? What's nested where? The answer has mostly been "check the docs and hope for the best."

Now there's a proper OpenAPI spec describing the full shape of the template context — every field, every type, every nested object. It covers everything from newsletter metadata and email content to subscriber details and subscription URLs.

This matters if you're building on top of Buttondown's archives. If you're writing custom CSS themes, building integrations, or just want autocomplete in your editor, having a machine-readable schema makes all of that easier. And if you're not doing any of that — this doesn't change anything for you, your archives work exactly the same.

We're publishing this for the same reason we've been investing in archives more broadly this year. Between new themes, more customization options, and the larger archives overhaul we outlined at the start of the year, we've been making a lot of changes to how archives work. A formal spec is our way of being transparent about what the contract looks like — and being deliberate about not breaking it. If we change the shape of the data your templates rely on, we want that to be a conscious, documented decision, not an accident.