Skip to content

Stream a jut.su CDN URL through backend's session

GET
/api/v1/sources/jutsu/stream
curl --request GET \
--url 'http://localhost:8080/api/v1/sources/jutsu/stream?url=example'

Re-issues the GET against the upstream URL using backend’s authenticated jut.su session and streams the response back to the browser without buffering. Required because Yandex CDN signs URLs against the originating session — a URL fetched by backend cannot be opened directly by the browser. Whitelisted to *.yandexwebcache.org. Pass ?filename=… to receive a Content-Disposition: attachment header so the browser triggers a download with the supplied filename instead of inline playback.

url
required
string
filename
string | null

OK