We provide a RESTful API for our customers and especially the resellers. Further support for implementation can be requested. Don't hesitate to contact us if you need support for the implementation or you think that certain important features are missing. Thanks in advance.
Our API is located at https://api.wavecdn.com/v3/ - notice the ssl encryption!
In order to use the API, you need an account which is activated for API use. Contact us to get further information about how to get activated. The API uses HTTP basic authentication, which means that you need to provide the Authorization header to get authenticated.
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
There's a PHP sample for invalidation urls. See the samples section.
If an error occurs, you get status codes of the 4xx or 5xx range. There should almost always be an xml error message, for example:
<?xml version="1.0" encoding="UTF-8"?> <errors> <error>sub_domain: Already exists. Choose a different one.</error> </errors>