Net API Notes for 2021/08/04 - Issue 170

Net API Notes is a regular, hand-curated digest of impactful news and analysis for busy API practitioners. Are you reading this on the web and not subscribed yet? Sign up today and be the first to get ad-free, actionable info delivered weekly to your inbox.

Good morning, good afternoon, or good evening! Whatever the case may be, I hope you're making the most of these past few weeks. In my situation, that meant loading up a pair of ABF trailers, driving halfway across the country, and establishing roots outside of St. Paul, Minnesota. The bruises and back still aren't entirely healed, but the news doesn't stop for a boo-boo. Let's get into this latest Net API Notes.

NOTES

GOOGLE'S API PROMISE

STRAT / DESIGN / DOC / DEV & TEST / DEPLOY / SECURITY / MONITOR / DISCOVERY

No one wants to build on shifting sand. Yet, when it comes to APIs, we've seen many instances where API providers (Instagram, Strava ) suddenly change critical aspects of an API's design, leaving their consumers scrambling.

Google, despite its size and resources, is not immune to the behavior. They've been so ruthless/efficient at "killing" products and services over the past several years that they've inspired 3rd party sites to keep track of it all. Perpetuating the perception that any offer has an expiration date is not a great way to build trust.

It is for this reason that Google announced its "Google Enterprise API" label. New tenets govern any API that has this label. These include expectations for higher stability and requirements about how and when changes are made to them. Changes are reviewed by a centralized board of product and engineering leads. Customers receive a minimum of one year's notice of impending changes. Finally, and the burden of making migrations as effortless as possible is on Google.

From the subsequent documentation:

"These APIs aim to build on the mutual trust with our customers necessary for long-term investments," ... "We want our customers to have the assurances they need to build creative new applications on top of our best-in-class infrastructure, using our innovative services and tools."

APIs initially under the Google Enterprise API label are from Google Cloud, Google Workspace, and Google Maps platforms.

I would be interested to see if these promises become table stakes for open, public APIs in the future.

API TESTING HIERARCHY OF NEEDS

STRAT / DESIGN / DOC / DEV & TEST / DEPLOY / SECURITY / MONITOR / DISCOVERY

Peter Thomas has less an article, and more an incredibly compelling tweet proposing “an API Testing Hierarchy of Needs”. He's currently looking for feedback. If this matches your experience, let Peter know!

REBUILDING TWITTER'S PUBLIC API

STRAT / DESIGN / DOC / DEV & TEST / DEPLOY / SECURITY / MONITOR / DISCOVERY

In the API history book, the Twitter API saga probably comprises an entire chapter. One of the propulsive examples of "Web 2.0", Twitter was many web developers' first API 'Hello World'. As leadership and business focus changed, Twitter's API accommodations changed. Within the last few years, a developer-friendly strategy has attempted to reengage with those audiences.

Steve Cosenza covers this and more in his YouTube recording, "Rebuilding Twitter's Public API". Steve outlines goals for the Twitter platform consistent with what I've seen with other mature efforts. Those goals include commitments to:

  • abstraction
  • ownership
  • consistency

The talk goes into depth on how they facilitate team contributions to the platform, in terms of resource fields and selections. Steve also gives insights into how they use GraphQL fragments as part of their component-based architecture. Great food for thought.

MILESTONES

WRAPPING UP

August is usually a slow month for API-related events. However, I do see a seasonal uptick in events coming up this fall. The Covid-delta variant means that in-person meetings still are not a lock. However, many of the gatherings listed on Net API Events have an online component. Check it out, and if you see something that should be included, let me know.

Finally, all this edition's gratitude goes out to my Patreons. Your help ensures that this newsletter is free of advertising, information selling, or paywalls. The community benefits from your generosity.

Till next time, Matthew

@libel_vox and matthewreinbold.com

While I work at Postman, creators of the upcoming, astronaut-themed, API graphic novel, the opinions presented above are mine.

Subscribe to Net API Notes

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe