~/talk

Subresources, the easy way with API Platform 3

slides:none on file

Shows how API Platform 3 replaces fragile APISubresource hacks with explicit scoped operations (uriTemplate + uriVariables + Link) so /teams/{teamId}/players returns scoped IRIs and avoids order-dependent behavior via itemUriTemplate. Demonstrates NotExposed operations for REST-required but hidden endpoints, an experimental CreateProvider that injects parent resources into POST bodies (POST /teams/{teamId}/injuries), using a dedicated /seats endpoint to fix N+1, and the uriTemplate on APIProperty plus canonical_uri_template and 3xx redirection to normalize alternate resource URIs.

AI-written summary · about

  1. 0:00Introduction to sub-resources
  2. 2:55Listing team players
  3. 6:15Defining resource relations
  4. 7:22Evolution of API platform
  5. 9:11New operation design
  6. 15:04Nested sub-resources
  7. 18:29The N+1 problem
  8. 22:04Posting nested data
  9. 26:44Over-fetching data
  10. 30:57Redirection and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.