Return cPanel account's archive files list

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

Authorizations:

Responses

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

Request samples

uapi --output=jsonpretty \
  --user=username \
  LogManager \
  list_archives

Response samples

Content type
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
    }
}