Published Dec 15, 2022

Episode 542: Brendan Callum on Contract-Driven APIs

Brendan Callum explores advanced API strategies at Pinterest, emphasizing performance metrics, contract-driven development, and the spec-first approach to ensure high-quality APIs. He discusses effective API migration and collaboration techniques, focusing on maintaining feature parity and aligning development with product goals.
Episode Highlights
Software Engineering Radio - the podcast for professional software developers logo

Popular Clips

Episode Highlights

  • Migration Strategies

    Effective API migration requires clear communication and detailed planning. emphasizes the importance of early notification to partners about upcoming changes, allowing them to align their development timelines and prepare for integration challenges 1. Providing comprehensive migration guides that outline specific differences and changes is crucial for partners to estimate the effort required to transition to new API versions 1. He notes, "It's never too early to let your partners know what you're planning and thinking. They really appreciate it, just like us."

    It's never too early to let your partners know what you're planning and thinking. They really appreciate it, just like us.

    ---

    Additionally, maintaining feature parity with older API versions is essential to facilitate smooth transitions and respect the investments partners have made in previous versions 2.

       

    Design Consistency

    Consistency in API design is vital for accommodating diverse user personas and ensuring seamless integration. discusses the importance of aligning metric names and simplifying complexities for partners, which helps in maintaining a uniform experience across different product areas 3. He highlights the need to consider the goals of various user personas, such as creators, businesses, and pinners, when designing APIs 3.

    We spend a lot of time thinking about those different Personas across the product and their goals when they come to Pinterest are different.

    ---

    The foundational elements of the API, like boards and pins, serve as entry points for further development, ensuring flexibility and future-proofing 3.

       

    Stakeholder Collaboration

    Collaboration with stakeholders is key to enhancing API development and ensuring consistency. describes the formation of a group of API stakeholders who focus on improving the product overall, not just their specific endpoints 4. This collaborative approach involves stakeholders in planning discussions, fostering relationships with product teams, and ensuring the API meets both partner and internal needs 4.

    We've built initially informal and now starting to be more formalized group of stakeholders, API stakeholders who are not just thinking about their specific use case and their endpoint, but how to make the product better overall.

    ---

    By engaging with product teams early, they gain insights into the native product experience, which aids in developing a more comprehensive and user-friendly API 4.

Related Episodes