65 lines
1.0 KiB
Markdown
65 lines
1.0 KiB
Markdown
# Methods
|
|
|
|
* (1) Get from DB
|
|
- GetDetails (Detailer : canape-backend)
|
|
* (2) Get from DB and fetch if not found
|
|
- GetDetails (Detailer : canape-backend)
|
|
Stop if found
|
|
- GetDetails (Detailer : all the others)
|
|
Upsert if found
|
|
* (3) Refresh
|
|
- GetDetails (Detailer : all the others)
|
|
Upsert if found
|
|
|
|
## Movies
|
|
|
|
### /movies/polochon
|
|
|
|
-Fetch polochon movies + Movies (2)-
|
|
|
|
### /movies/{id}/refresh
|
|
|
|
-Movies (3) + Torrents (3)-
|
|
|
|
### /movies/explore
|
|
|
|
-Explorer (1) + Movies (2) + Torrents (1)-
|
|
|
|
### /movies/search
|
|
|
|
-Search + Movies (2) + Torrents (1)-
|
|
|
|
### /movies/refresh
|
|
|
|
Explorer (3) + Movies (3) + Torrents (3)
|
|
|
|
## Shows
|
|
|
|
### /shows/polochon
|
|
|
|
-Fetch polochon shows + Shows (2)-
|
|
|
|
### /shows/explore
|
|
|
|
-Explorer (1) + Shows (2)-
|
|
|
|
### /shows/search
|
|
|
|
-Search + Shows (2)-
|
|
|
|
### /shows/{id}
|
|
|
|
-Shows (2) + Episodes (1) + Torrents (1)-
|
|
|
|
### /shows/{id}/refresh
|
|
|
|
-Shows (3) + Episodes (1) + Torrents (3)-
|
|
|
|
### /shows/{id}/seasons/{season}/episodes/{episode}
|
|
|
|
-Episode (3) + Torrents (3)-
|
|
|
|
### /shows/refresh
|
|
|
|
Explorer (3) + Shows (3) + Torrents (3)
|