API v2

All endpoints live under /api/v2/dl and speak JSON.

EndpointMethodPurpose
/api/v2/dl/statusGETQueue snapshot and quota.
/api/v2/dl/session/<id>GETLong-poll a transfer session; offset selects the resume point.
/api/v2/dl/session/<id>POSTPush acknowledged chunk state.

Session responses stream until the transfer completes or the client disconnects.