Skip to main content

DOWNLOADS_QUEUE_PATH

Constant DOWNLOADS_QUEUE_PATH 

Source
pub const DOWNLOADS_QUEUE_PATH: &str = "/api/models/downloads/queue";
Expand description

Download queue: POST enqueues, GET returns the snapshot.

One path for both verbs. The snapshot handler was once double-mounted at /api/models/downloads as well; when that mount was retired the CLI was still polling it, and the bare path fell through to /api/models/{id}, whose i64 extractor answers 400 text/plain.