Hi!
CPanel version 11.36.0.20.
I try to get a list of backups for account.
Call API2 function listfullbackups in module Backups.
My request:
:2087/xml-api/cpanel?user=testusername&cpanel_xmlapi_module=Backups&cpanel_xmlapi_func=listfullbackups&cpanel_xmlapi_apiversion=2
Answer:
<?xml version="1.0" ?>
<cpanelresult>
<apiversion>2</apiversion>
<event>
<result>1</result>
</event>
<func>listfullbackups</func>
<module>Backups</module>
</cpanelresult>
No infomation about pending and completed backups.
Why?? Weekly and monthly backups exsists in /backup/cpbackup/weekly and /backup/cpbackup/monthly.
In documentation ApiBackups < ApiDocs/Api2 < TWiki
Must returns:
<data>
<status> The status of the backup.</status>
<localtime> The time the backup was completed in human-readable format.</localtime>
<file> The name of the backup file. This can be accessed by calling '/download&file=$file'.</file>
<time> The time the backup was completed in Unix time format.</time>
</data>
What I doing wrong???
THANK YOU!!
Ruslan
CPanel version 11.36.0.20.
I try to get a list of backups for account.
Call API2 function listfullbackups in module Backups.
My request:
:2087/xml-api/cpanel?user=testusername&cpanel_xmlapi_module=Backups&cpanel_xmlapi_func=listfullbackups&cpanel_xmlapi_apiversion=2
Answer:
<?xml version="1.0" ?>
<cpanelresult>
<apiversion>2</apiversion>
<event>
<result>1</result>
</event>
<func>listfullbackups</func>
<module>Backups</module>
</cpanelresult>
No infomation about pending and completed backups.
Why?? Weekly and monthly backups exsists in /backup/cpbackup/weekly and /backup/cpbackup/monthly.
In documentation ApiBackups < ApiDocs/Api2 < TWiki
Must returns:
<data>
<status> The status of the backup.</status>
<localtime> The time the backup was completed in human-readable format.</localtime>
<file> The name of the backup file. This can be accessed by calling '/download&file=$file'.</file>
<time> The time the backup was completed in Unix time format.</time>
</data>
What I doing wrong???
THANK YOU!!
Ruslan
Last edited: