REST API v3: POST view rebuild

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

https://api.copernica.com/v3/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", 3);

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

This method requires the CopernicaRestAPI class.

More information