Load or reload a broker connection's instrument universe
POST
/admin/broker-connections/{code}/universe/load
curl --request POST \ --url http://localhost:3001/admin/broker-connections/string/universe/load \ --header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/admin/broker-connections/string/universe/load"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.json())use reqwest;
#[tokio::main]pub async fn main() { let url = "http://localhost:3001/admin/broker-connections/string/universe/load";
let mut headers = reqwest::header::HeaderMap::new(); headers.insert("Authorization", "Bearer <token>".parse().unwrap());
let client = reqwest::Client::new(); let response = client.post(url) .headers(headers) .send() .await;
let results = response.unwrap() .json::<serde_json::Value>() .await .unwrap();
dbg!(results);}Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”code
required
string
Broker connection code
Responses
Section titled “Responses”Started; follow it at /admin/jobs/{job_id}
Media typeapplication/json
object
job_id
required
string format: uuid
Example generated
{ "job_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Not found
A load for this connection is already running; its job_id is in the body
No usable credentials, a broker without a catalog, or not the active connection