mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-12 22:47:52 +02:00
Add Endpoint GET /v2/Manga to request multiple Manga from internalIds #167
This commit is contained in:
@ -100,6 +100,34 @@ Returns the specified Manga.
|
||||
| 404 | Manga with `internalId` could not be found |
|
||||
</details>
|
||||
|
||||
### <sub></sub> `/v2/Manga/`
|
||||
|
||||
Returns the list of Mangas requested.
|
||||
|
||||
<details>
|
||||
<summary>Request</summary>
|
||||
|
||||
| Parameter | Value |
|
||||
|-----------|--------------------------------------|
|
||||
| mangaIds | Comma-Seperated list of `internalId` |
|
||||
|
||||
`internalId` is returned in the response of
|
||||
* [GET /v2/Manga](#-v2manga)
|
||||
* [GET /v2/Connector/*ConnectorName*/GetManga](#-v2connectorconnectornamegetmanga)
|
||||
* [GET /v2/Job/*jobId*](#-v2jobjobid)
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Returns</summary>
|
||||
|
||||
List of [Manga](Types.md#manga)
|
||||
|
||||
| StatusCode | Meaning |
|
||||
|------------|--------------------------------------------|
|
||||
| 400 | Missing Parameter |
|
||||
| 404 | Manga with `internalId` could not be found |
|
||||
</details>
|
||||
|
||||
### <sub></sub> `/v2/Manga/<internalId>`
|
||||
|
||||
Deletes all associated Jobs for the specified Manga
|
||||
@ -115,10 +143,12 @@ Deletes all associated Jobs for the specified Manga
|
||||
|
||||
<details>
|
||||
<summary>Returns</summary>
|
||||
|
||||
[Manga](Types.md#manga)
|
||||
|
||||
| StatusCode | Meaning |
|
||||
|------------|--------------------------------------------|
|
||||
| 200 | Jobs were deleted |
|
||||
| 200 | Manga was deleted |
|
||||
| 404 | Manga with `internalId` could not be found |
|
||||
</details>
|
||||
|
||||
|
Reference in New Issue
Block a user