REST API: POST view rebuild

The HTTP POST call to rebuild a selection can be found at the following address:$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

// 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