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

推荐订阅源

量子位
Recent Announcements
Recent Announcements
D
Docker
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
The GitHub Blog
The GitHub Blog
U
Unit 42
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
腾讯CDC
B
Blog
博客园_首页
罗磊的独立博客
D
DataBreaches.Net
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LangChain Blog
aimingoo的专栏
aimingoo的专栏
MongoDB | Blog
MongoDB | Blog
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
M
MIT News - Artificial intelligence

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.