Upload Tracking Inputs
curl --request POST \
--url https://api.example.com/shadingscenes/{scene_id}/trackinginputsimport requests
url = "https://api.example.com/shadingscenes/{scene_id}/trackinginputs"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/shadingscenes/{scene_id}/trackinginputs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/shadingscenes/{scene_id}/trackinginputs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/shadingscenes/{scene_id}/trackinginputs"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/shadingscenes/{scene_id}/trackinginputs")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/shadingscenes/{scene_id}/trackinginputs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyShading Scenes
Upload Tracking Inputs
Upload tracking angle configuration for a shading scene
POST
/
shadingscenes
/
{scene_id}
/
trackinginputs
Upload Tracking Inputs
curl --request POST \
--url https://api.example.com/shadingscenes/{scene_id}/trackinginputsimport requests
url = "https://api.example.com/shadingscenes/{scene_id}/trackinginputs"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/shadingscenes/{scene_id}/trackinginputs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/shadingscenes/{scene_id}/trackinginputs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/shadingscenes/{scene_id}/trackinginputs"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/shadingscenes/{scene_id}/trackinginputs")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/shadingscenes/{scene_id}/trackinginputs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyPOST /shadingscenes//trackinginputs
Save single-axis tracker parameters and link them to the specified shading scene. These parameters control backtracking behavior and terrain-aware tracking adjustments used during shading simulation.Notes
- Content type is
application/x-www-form-urlencoded. gcr(Ground Coverage Ratio) is the only required field. All other parameters have sensible defaults.- Default parameter values:
azimuth:0.0axis_tilt:0.0back_tracking:truemax_angle:60.0terrain_aware:false
terrain_aware_diode_thresholdandterrain_aware_methodare only relevant whenterrain_awareistrue.- On success, returns the new
trackingInputIdand the associatedshadingSceneId. - Returns
404if the scene does not exist in the current workspace. - Requires write-level workspace access.
- After uploading new tracking inputs, use POST /shadingscenes//refresh to re-run shading with the updated tracker configuration.
