TwentyThree Developer APIAPI Method: /api/file/list

API Method: /api/file/list

Last updated on September 2, 2016.

List design files.

Parameters

ParameterDescription
object_idOptional ineteger identifier of the object the file is related to, for example a theme or a player.

Permission level

The minimum required permission level is:

write

Example XML Response

<response status="ok" permission_level="admin" total_count="2" cached="0">
    <file filename="favicon-64.png" size="813" url="/files/favicon-64.png"/>
    <file filename="sitelogo.png" size="5342" url="/files/sitelogo.png"/>
</response>

Example JSON Response

{
  "status": "ok", 
  "permission_level":"admin",
  "cached":"0",
  "files":[
    {"filename": "favicon-64.png", "size": "813", "url": "/files/favicon-64.png"},
    {"filename": "sitelogo.png", "size": "5342", "url": "/files/sitelogo.png"}],
  "p": "1",
  "size": "1",
  "total_count": "2",
  "site": {...},
  "endpoint": "/api/file/list"
}