~/talk

What we’ve learned designing the new Sylius API

Talkat API Platform Conference 2022 · 2022-09-15..09-16· [php, api-design]
slides:none on file

Chooses REST with API Platform instead of a GraphQL-first rewrite, already covering about 100% of shop functionality and 70% overall, and replaces FOSRest. Implements state transitions as new resources (POST a cancellation request that can be polled) rather than verb-suffixed endpoints. Uses Symfony serializer dynamic fields with a second class to document custom IRIs instead of forcing DB-mapped fields or heavy read-model plumbing. Splits shop and admin into separate endpoints (72 shop, 128 admin) and ships a "/v2" URL version while planning Sunset headers.

AI-written summary · about

  1. 0:00Introduction and greetings
  2. 3:34Strategic design choices
  3. 7:11Resource design challenges
  4. 17:20High-level API unification
  5. 26:49API versioning approach
  6. 30:09API flow decisions
  7. 37:48Key takeaways and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.