REST API v2: PUT view rebuild

The HTTP PUT call to rebuild a selection can be found at the following address:

https://api.copernica.com/v2/view/$id/rebuild?access_token=xxxx

The $id in the URL should be replaced by the unique identifier of the view.

PHP example

The following example demonstrates how to use this method.

// dependencies
require_once('copernica_rest_api.php');

// change this to your access token
$api = new CopernicaRestAPI("your-access-token", 2);

// voer het verzoek uit
$api->post("view/{$viewID}/rebuild", $data);

This method requires the CopernicaRestAPI class.

More information