API Documentation

Integrate VoiceStream edge delivery into your streaming pipeline.

Base URL

https://voice-stream-cdn.yktservers.ru/v2

Authentication

All requests require a bearer token issued from the dashboard.

curl -H "Authorization: Bearer $VS_TOKEN" \
     https://voice-stream-cdn.yktservers.ru/v2/manifest/live_9f2c.m3u8

Endpoints

MethodPathDescription
GET/v2/manifest/:id.m3u8Signed playback manifest
GET/v2/segments/:id/:seqMedia segment
POST/v2/purgeInvalidate cache path
GET/healthzHealth probe
GET/metricsPrometheus metrics

Purge

curl -X POST https://voice-stream-cdn.yktservers.ru/v2/purge \
     -H "Authorization: Bearer $VS_TOKEN" \
     -d '{"path":"/v2/segments/9f2c/*"}'
Purge propagates to every edge location within two seconds.

Rate limits

Errors

CodeMeaning
401Missing or invalid token
403Token lacks scope for this resource
404Manifest or segment not found
429Rate limit exceeded