API documentation
Storage Location
Retrieve list of available locations for your CDN storage.
List
GET
https://api.cdn77.com/v2.0/storage-location/list
Response object: storageLocations / array of objects described in return values below.
Parameters
Parameter | Example | Description |
---|---|---|
login string* | info@domain.com | Your login (email) to CDN77 control panel |
passwd string* | 8vL4BpXbRqgPTKA0h | Your API password. |
Return Values
Return Value | Description |
---|---|
id | > Storage Location ID. |
name | > Storage Location Name. |
Examples
# GET request
curl "https://api.cdn77.com/v2.0/storage-location/list?login=name@domain.com&passwd=your_api_password"
#response
{"status": "ok", "description": "Request was successful.", "storageLocations": [{"id": "push-9.cdn77.com", "name": "Europe - Prague"}]}