# Functions
Download implements GET /download and GET /thumbnail Files from this server (i.e.
Setup registers the media API HTTP handlers
Due to Setup being used to call many other functions, a gocyclo nolint is applied: nolint: gocyclo.
Upload implements POST /upload This endpoint involves uploading potentially significant amounts of data to the homeserver.