Versioning

This version of the API docs is depreciated and will be taken offline soon.
Please migrate to the new version as soon as possible to avoid service disruption.

New version can be found at https://docs.wceaapi.org/

If we make any changes to the API that are not backward compatible, we release a new version of the API.

The version to be used is dictated by the first slug in the endpoint url.

All endpoints start with the version number first.

An invalid version number in the URL will always result in a 404 error.

Versioning is handled transparently by the SDK, it just needs to be specified in the config options when instantiating the class

$config = array(
  "api_key"  => "blahblahblah",
  "api_secret" => "blahblahblah",
  "api_version"     => '1' // <-- specifying version
);
$API = new Verified($config);

It can also be set after instantiating the class

$config = array(
  "api_key"  => "blahblahblah",
  "api_secret" => "blahblahblah"
);
$API = new Verified($config);

$API->setConfig('api_version', 1);