Skip to content
Theory · Video hosting · lesson 4 of 10

API and data model

The API of a video hosting service answers two questions. How does a file of up to 10 GB get from a creator into storage? And how does a player learn which qualities exist and where to fetch them? In both answers the video bytes bypass the service: only details and links pass through the API. Let us take the calls first, then the tables and where they live.

In this lesson

  • Upload in three steps
  • Starting playback
  • Data model
  • Where things live
  • Common mistake
  • Key points