REST API v4: POST view rebuild

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

https://api.copernica.com/v4/view/$id/rebuild

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('CopernicaRestAPI.php');

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

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

This method requires the CopernicaRestAPI class.

More information