Stream Intermediate File
curl --request GET \
--url https://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/import requests
url = "https://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/', 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://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/",
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://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/"
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://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/")
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_bodyusing RestSharp;
var options = new RestClientOptions("https://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_WRITEDATA, stdout);
curl_easy_setopt(hnd, CURLOPT_URL, "https://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/");
CURLcode ret = curl_easy_perform(hnd);{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Stream Intermediate File
Download an archive containing Job assets and the concrete scenario files for the specified sample list.
The operation is not supported for all job templates. If the job template doesn’t support it, an HTTP 400 error is returned.
Usage:
- Once you download the zip file, unzip it
- Setup any environment variables required for your solver
- Run the runme script like
./runme.sh
:param samples: List of sample ids from all iterations, starting from 1, separated by comma. Leave empty for skipping generation of concrete scenario files. :param filter_by_asset_declaration_list: List of asset types to include separated by comma. Leave empty to include all the files. :param: include_runme: Includes inputs.json config and runme.sh script files.
:return: StreamingResponse: The response containing archive of intermediate files.
GET
/
v1
/
files
/
stream-intermediate-file
/
Stream Intermediate File
curl --request GET \
--url https://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/import requests
url = "https://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/', 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://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/",
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://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/"
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://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/")
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_bodyusing RestSharp;
var options = new RestClientOptions("https://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_WRITEDATA, stdout);
curl_easy_setopt(hnd, CURLOPT_URL, "https://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg/v1/files/stream-intermediate-file/");
CURLcode ret = curl_easy_perform(hnd);{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?