Return cPanel account's archive files list

This function returns a list of the user's archive files.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/LogManager/list_archives
Request samples
uapi --output=jsonpretty \
  --user=username \
  LogManager \
  list_archives
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "list_archives",
  • "module": "LogManager",
  • "result": {
    • "data": [
      • {
        • "file": "domain.com-May-2019.gz",
        • "mtime": 1557835866,
        • "path": "/home/user/logs/domain.com-May-2019.gz"
        }
      ],
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}