Add Endpoint POST /v2/Manga/internalId/moveFolder #167

This commit is contained in:
2024-04-26 00:05:48 +02:00
parent 8887cea718
commit 2e1f633f40
3 changed files with 39 additions and 0 deletions

View File

@ -219,6 +219,31 @@ Returns the latest Chapter of the specified Manga.
| 500 | Parsing Error |
</details>
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/Manga/<internalId>/moveFolder`
<details>
<summary>Request</summary>
`internalId` is returned in the response of
* [GET /v2/Manga](#-v2manga)
* [GET /v2/Connector/*ConnectorName*/GetManga](#-v2connectorconnectornamegetmanga)
* [GET /v2/Job/*jobId*](#-v2jobjobid)
| Parameter | Value |
|-----------|-------------------------------------|
| location | New location (relative to root dir) |
</details>
<details>
<summary>Returns</summary>
| StatusCode | Meaning |
|------------|--------------------------------------------|
| 400 | Parameter missing |
| 404 | Manga with `internalId` could not be found |
</details>
## Jobs <sup>[^top](#top)</sup>
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Jobs`