Create API for fetching encoded media
Fetch media from the API