Type to search...

Firewall: list

Request

HTTP request

GET /firewall/v1 HTTP/1.1

Parameters

Paramete name Value Description
Optional query parameters
maxResults unsigned int Maximum number of items in result
projection string Projection settings; comma separeted string see
order string Order by list items; latest: latest uploaded first; publicId: order by public ID (UTF-16 bytecode)
nextPageToken bool/string Token for listing page; If specified, then order parameter is skipped

Request Body

This method does not support the request body.

Response

If successful, this method returns a firewall list resource in the response body.

Response HTTP status code

HTTP status code Description
200 Success, list of firewalls

For more information about HTTP codes, click here.

Rate limit

Detailed information for cloud rate limitation is available on Shardimage developers.

Paging

Paging guide »

SDK

use shardimage\shardimagephp\auth\Client;
use shardimage\shardimagephp\models\firewall\IndexParams;
 
$client = new Client([
    'apiKey' => '<apiKey>',
    'apiSecret' => '<apiSecret>',
    'imageSecret' => '<imageSecret>',
]);
$indexParams = new IndexParams();
$indexParams->projection = [
    IndexParams::PROJECTION_NO_FIREWALL,
];
$firewallList = $client->getFirewallService()->index([], $indexParams);
Table of contents