Data Data by Key Media file data

API - Media - Get File Data

Get media file from system.


GET /api/media/file/data?base={base}&path={path}&token={token}

Base is the base directory to search from. Path is the relative path to the file from the base.

The avaliable base directories are:

  • documents
  • downloads
  • home
  • music
  • pictures
  • videos


This will be the binary version of the file you request, so an image will return the image etc.