mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-06 00:04:39 +00:00
backend: fix docs spelling mistakes
This commit is contained in:
parent
ed21441f9f
commit
9e9142a579
1 changed files with 5 additions and 5 deletions
|
@ -6,13 +6,13 @@ from modules.proxy import ENDPOINTS
|
||||||
router = APIRouter()
|
router = APIRouter()
|
||||||
|
|
||||||
|
|
||||||
@router.get("/{release_id}", summary="Get release info by release ID")
|
@router.get("/{release_id}", summary="Get release info")
|
||||||
async def GetReleaseById(request: Request, release_id: str):
|
async def GetReleaseById(request: Request, release_id: str):
|
||||||
return await apiRequest(request, ENDPOINTS["release"]["info"], release_id)
|
return await apiRequest(request, ENDPOINTS["release"]["info"], release_id)
|
||||||
|
|
||||||
|
|
||||||
@router.get(
|
@router.get(
|
||||||
"/{release_id}/voiceover", summary="Get release voiceover info by release ID"
|
"/{release_id}/voiceover", summary="Get release voiceover info"
|
||||||
)
|
)
|
||||||
async def GetReleaseVoiceover(request: Request, release_id: str):
|
async def GetReleaseVoiceover(request: Request, release_id: str):
|
||||||
return await apiRequest(request, ENDPOINTS["release"]["episode"], release_id)
|
return await apiRequest(request, ENDPOINTS["release"]["episode"], release_id)
|
||||||
|
@ -20,7 +20,7 @@ async def GetReleaseVoiceover(request: Request, release_id: str):
|
||||||
|
|
||||||
@router.get(
|
@router.get(
|
||||||
"/{release_id}/{voiceover_id}",
|
"/{release_id}/{voiceover_id}",
|
||||||
summary="Get available players for selected voiceover of an release",
|
summary="Get available players for selected voiceover of a release",
|
||||||
)
|
)
|
||||||
async def GetReleaseVoiceoverPlayer(
|
async def GetReleaseVoiceoverPlayer(
|
||||||
request: Request, release_id: str, voiceover_id: str
|
request: Request, release_id: str, voiceover_id: str
|
||||||
|
@ -32,7 +32,7 @@ async def GetReleaseVoiceoverPlayer(
|
||||||
|
|
||||||
@router.get(
|
@router.get(
|
||||||
"/{release_id}/{voiceover_id}/{source_id}",
|
"/{release_id}/{voiceover_id}/{source_id}",
|
||||||
summary="Get available episodes for selected voiceover and a player of an release",
|
summary="Get available episodes for selected voiceover and a player of a release",
|
||||||
)
|
)
|
||||||
async def GetReleaseEpisodes(
|
async def GetReleaseEpisodes(
|
||||||
request: Request, release_id: str, voiceover_id: str, source_id: str
|
request: Request, release_id: str, voiceover_id: str, source_id: str
|
||||||
|
@ -61,7 +61,7 @@ async def MarkEpisodeAsWatched(
|
||||||
|
|
||||||
@router.get(
|
@router.get(
|
||||||
"/{release_id}/{episode}/addHistory",
|
"/{release_id}/{episode}/addHistory",
|
||||||
summary="mark episode of a selected voiceover as watched",
|
summary="add episode of a selected voiceover to history",
|
||||||
)
|
)
|
||||||
async def AddEpisodeToHistory(
|
async def AddEpisodeToHistory(
|
||||||
request: Request, release_id: str, source_id: str, episode: str, token: str
|
request: Request, release_id: str, source_id: str, episode: str, token: str
|
||||||
|
|
Loading…
Add table
Reference in a new issue