[Deprecated] use POST /api/v1/sources/{provider}/decode
Deprecated
POST
/api/v1/providers/decode
const url = 'http://localhost:8080/api/v1/providers/decode';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"provider":"example","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/providers/decode \ --header 'Content-Type: application/json' \ --data '{ "provider": "example", "url": "example" }'Legacy decoder dispatch kept only for backwards compatibility. The canonical path is POST /api/v1/sources/{provider}/decode where {provider} is one of kodik / sibnet / aniboom / jutsu and the request body is just {“url”: ”…”}. This endpoint will be removed after consumers migrate.
Request Body required
Section titled “Request Body required ” Media type application/json
object
provider
required
string
url
required
string
Example generated
{ "provider": "example", "url": "example"}Responses
Section titled “ Responses ”OK
Media type */*
object
success
boolean
qualities
object
key
additional properties
string
format
string
errorCode
string