Super backup log: list
Request
HTTP request
GET /super-backup/v1/c/<cloud ID>/log HTTP/1.1
Parameters
Parameter name | Value | Description |
---|---|---|
Optional query parameters | ||
maxResults |
unsigned int | Maximum number of items in result |
filters |
string | Applied filters, separated by commas |
Filters
Filter name | Description |
---|---|
onlySuccess |
shows only success logs |
onlyErrors |
shows only error logs |
onlyUpload |
shows only upload logs |
onlyDelete |
shows only delete logs |
Request Body
This method does not support request body.
Response
If successful, this method returns a super backup resource list in the response body.
Response HTTP status code
HTTP status code | Description |
---|---|
200 | Success, list of super backup logs |
For more information about HTTP codes, click here.
Rate limit
Detailed information for cloud rate limitation is available on Shardimage developers.
SDK
use shardimage\shardimagephp\auth\Client;
use shardimage\shardimagephp\models\superbackuplog\IndexParams;
$client = new Client([
'apiKey' => '<apiKey>',
'apiSecret' => '<apiSecret>',
'imageSecret' => '<imageSecret>',
]);
$indexParams = new IndexParams();
$indexParams->filters = [
IndexParams::FILTER_ONLY_SUCCESS,
IndexParams::FILTER_ONLY_UPLOAD,
];
$backupLogList = $client->getSuperBackupLogService()->index(['cloudId' => '<cloudId>'], $indexParams);