Get a pipeline element's job_config
curl --request GET \
--url https://api.ionworks.com/pipelines/elements/{element_id}/job_configimport requests
url = "https://api.ionworks.com/pipelines/elements/{element_id}/job_config"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.ionworks.com/pipelines/elements/{element_id}/job_config', 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.ionworks.com/pipelines/elements/{element_id}/job_config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.ionworks.com/pipelines/elements/{element_id}/job_config"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ionworks.com/pipelines/elements/{element_id}/job_config")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ionworks.com/pipelines/elements/{element_id}/job_config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Pipeline
Get a pipeline element's job_config
Return one element’s job_config, hydrated lazily on expand.
The bulk /elements response projects the bigger keys (parameters,
optimizer, cost) out of every element so the details page loads fast;
this fills them back in for the one element a drawer is showing. Returns
{} for an element that does not exist or is not visible to the caller.
Note this is the DB row, not the storage copy — the two differ only by
objectives, the multi-MB serialized measurement payload the worker reads
directly and no client needs.
Get a pipeline element's job_config
curl --request GET \
--url https://api.ionworks.com/pipelines/elements/{element_id}/job_configimport requests
url = "https://api.ionworks.com/pipelines/elements/{element_id}/job_config"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.ionworks.com/pipelines/elements/{element_id}/job_config', 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.ionworks.com/pipelines/elements/{element_id}/job_config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.ionworks.com/pipelines/elements/{element_id}/job_config"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ionworks.com/pipelines/elements/{element_id}/job_config")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ionworks.com/pipelines/elements/{element_id}/job_config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Path Parameters
Response
Successful Response
The response is of type Response Get Pipeline Element Job Config Pipelines Elements Element Id Job Config Get · object.
Was this page helpful?