api-first development at etsy | api strategy & practice ams 2014

Post on 19-May-2015

2.982 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

API-First Development at Etsy Building a Unified API for a Multi-Screen World Originally presented at API Strategy & Practice in Amsterdam 2014

TRANSCRIPT

API-First Development at EtsyBuilding a Unified API for a Multi-Screen World

@wrighty

Who Am I?Paul Wright

Infrastructure Engineer

Core Platform

What is Etsy?

@wrighty

Etsy is the marketplace we make together.

@wrighty

Quick Stats

@wrighty

In 2013,Etsy Sellers MadeOver 1 Billion USD

@wrighty

Etsy isMulti-Platform

APIv2

@wrighty

The Good

@wrighty

Kick StartedThird-PartyCommunity

@wrighty

Powers EtsyNative Apps

@wrighty

Serves Needs of Sellers

@wrighty

The Bad

@wrighty

Resources MirrorDB Schemas

@wrighty

Client DictatesComplexity

@wrighty

Multiple Requests for one

Client View

APIv3

@wrighty

Domain Resources, not Row Resources

@wrighty

Push Complexityto Server

@wrighty

Relax REST Constraints

@wrighty

Make Access Control Explicit

@wrighty

PerspectivesEncapsulate who is making a call

Abstracts authentication

Three main ones: Public, Member & Shop

API-First

Database

Business Logic

Web ControllerAPIv2

Business Logic

Database

APIv3

Business Logic

@wrighty

Thanks!

top related