Get a broker connection's instrument universe status
GET
/admin/broker-connections/{code}/universe
curl --request GET \ --url http://localhost:3001/admin/broker-connections/string/universe \ --header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/admin/broker-connections/string/universe"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.json())use reqwest;
#[tokio::main]pub async fn main() { let url = "http://localhost:3001/admin/broker-connections/string/universe";
let mut headers = reqwest::header::HeaderMap::new(); headers.insert("Authorization", "Bearer <token>".parse().unwrap());
let client = reqwest::Client::new(); let response = client.get(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”OK
Media typeapplication/json
object
count
required
Instruments currently mapped to this connection’s broker.
integer format: int64
last_job
object
created_at
required
string format: date-time
error
string
finished_at
string format: date-time
id
required
string format: uuid
kind
required
universe_load, enrichment, symbology_backfill or expiry_sweep.
string
params
required
progress_done
integer format: int64
progress_total
integer format: int64
result
started_at
string format: date-time
started_by
required
system for work the OMS started itself, else the admin action.
string
status
required
string
subject
What the job is about, e.g. a broker connection code.
string
reason
Why the state is partial or failed: “interrupted”, “10 skipped: …”, or
the load’s error.
string
state
required
Where a broker connection’s instrument universe stands.
string
Example
{ "last_job": { "status": "queued" }, "state": "not_loaded"}Not found