Decode a single source URL ad-hoc
POST
/api/v1/sources/{provider}/decode
const url = 'http://localhost:8080/api/v1/sources/example/decode';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"url":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8080/api/v1/sources/example/decode \ --header 'Content-Type: application/json' \ --data '{ "url": "example" }'Stateless decoder dispatch keyed by path segment. Supported providers: kodik, sibnet, aniboom, jutsu. Returns a uniform ProviderDecodeResult with {success, qualities, format, errorCode}. No DB write, no caching.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” provider
required
string
Request Body required
Section titled “Request Body required ” Media type application/json
object
url
required
string
Example generated
{ "url": "example"}Responses
Section titled “ Responses ”OK
Media type */*
object
success
boolean
qualities
object
key
additional properties
string
format
string
errorCode
string