Data Data by Key Keyboard Notification Open Power

API - Media - Files

List files from system.

Request

GET /api/media/files?base={base}&path={path}

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

Response

{
    "foo": "bar"
}