API documentation

Storage Location

Retrieve list of available locations for your CDN storage.

List

GET
https://api.cdn77.com/v2.0/storage-location/list
Each CDN storage location has it's own ID.

Response object: storageLocations / array of objects described in return values below.

Parameters

Parameter Example Description
Parameter: login string* Example: info@domain.com Your login (email) to CDN77 control panel
Parameter: passwd string* Example: 8vL4BpXbRqgPTKA0h Your API password.
* Parameter required.

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"}]}