feat/api-prox: add custom episode source hooks + iframe path

This commit is contained in:
Kentai Radiquum 2025-07-03 00:47:08 +05:00
parent 648486e992
commit d646a946cc
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
4 changed files with 412 additions and 0 deletions

92
api-prox/episode/841.json Normal file
View file

@ -0,0 +1,92 @@
{
"comment": [
"пример для добавления и изменения озвучек, источников и эпизодов",
"для аниме Initial D - First Stage, ID: 841",
"кстати раздел 'comment' совсем не нужен, так что это буквально коммент"
],
"types": [
{
"id": 1,
"name": "NyaniDUB",
"icon": "https://wsrv.nl/?url=https://s3.tebi.io/wahs.wah.su/red_panda/0782.%20gfCXa9ZzhvY.jpg",
"sources": [
{
"id": 1,
"name": "Sibnet",
"episodes": [
{
"position": 1,
"name": "первая серия",
"url": "https://aniqit.com/seria/250857/96e2df7a21302ef9556c7cbb427e314d/720p",
"iframe": false,
"is_filler": false
}
]
},
{
"id": 998,
"name": "Custom Source",
"episodes": [
{
"position": 1,
"name": "своя серия",
"url": "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
"iframe": true,
"is_filler": true
}
]
}
]
},
{
"id": 999,
"name": "Custom Voiceover",
"icon": "https://s3.anixstatic.com/voiceovers/anidub.jpg",
"episodes_count": 2,
"sources": [
{
"id": 998,
"name": "Custom Source",
"episodes_count": 2,
"episodes": [
{
"position": 1,
"name": "mewmewmew",
"url": "https://aniqit.com/seria/250857/96e2df7a21302ef9556c7cbb427e314d/720p",
"iframe": true,
"is_filler": true
},
{
"position": 2,
"name": "своя серия",
"url": "https://aniqit.com/seria/250857/96e2df7a21302ef9556c7cbb427e314d/720p",
"iframe": true,
"is_filler": true
}
]
},
{
"id": 997,
"name": "Custom Source 2",
"episodes_count": 2,
"episodes": [
{
"position": 1,
"name": "mewmewmew",
"url": "https://aniqit.com/seria/250857/96e2df7a21302ef9556c7cbb427e314d/720p",
"iframe": true,
"is_filler": true
},
{
"position": 2,
"name": "своя серия",
"url": "https://aniqit.com/seria/250857/96e2df7a21302ef9556c7cbb427e314d/720p",
"iframe": true,
"is_filler": true
}
]
}
]
}
]
}