2024-04-19 21:23:15 +02:00
|
|
|
|
<span id="top"></span>
|
|
|
|
|
# Tranga API Calls v2
|
|
|
|
|
This document outlines all different HTTP API calls that Tranga accepts.
|
|
|
|
|
Tranga expects specific HTTP methods for its calls and therefore careful attention must be paid when making them.
|
|
|
|
|
|
|
|
|
|
`apiUri` refers to your `http(s)://TRANGA.FRONTEND.URI/api`.
|
|
|
|
|
|
|
|
|
|
Parameters are included in the HTTP request URI and/or the request body.
|
|
|
|
|
The request Body is in JSON key-value-pair format, with all values as strings.
|
|
|
|
|
Tranga responses are always in the JSON format within the Response Body.
|
|
|
|
|
|
|
|
|
|
Parameters in *italics* are optional
|
|
|
|
|
|
|
|
|
|
<!-- ### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `` -->
|
|
|
|
|
<!-- ### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `` -->
|
|
|
|
|
<!-- ### <sub>![DELETE](https://img.shields.io/badge/DELETE-f00)</sub> `` -->
|
|
|
|
|
|
|
|
|
|
### Quick Entry
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
* [Connectors](#connectors-top)
|
|
|
|
|
* [Manga](#manga-top)
|
|
|
|
|
* [Jobs](#jobs-top)
|
|
|
|
|
* [Settings](#settings-top)
|
|
|
|
|
* [Library Connectors](#library-connectors-top)
|
|
|
|
|
* [Notification Connectors](#notification-connectors-top)
|
|
|
|
|
* [Miscellaneous](#miscellaneous-top)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
|
|
|
|
|
## Connectors <sup>[^top](#top)</sup>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Connector/Types`
|
|
|
|
|
|
|
|
|
|
Returns available Manga Connectors (Scanlation sites)
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
List of strings with Names.
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Connector/<ConnectorName>/GetManga`
|
|
|
|
|
|
|
|
|
|
Returns the Manga from the specified Manga Connector.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
`ConnectorName` is returned in the response of [GET /v2/Connector/Types](#-v2connectortypes)
|
|
|
|
|
|
|
|
|
|
Use either `title` or `url` Parameter.
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|-------------------------------------------------|
|
|
|
|
|
| title | Search Term |
|
|
|
|
|
| url | Direct link (URL) to the Manga on the used Site |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
List of [Manga](Types.md#Manga)
|
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|--------------------------|
|
|
|
|
|
| 400 | Connector does not exist |
|
|
|
|
|
| 404 | URL/Connector Mismatch |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
## Manga <sup>[^top](#top)</sup>
|
|
|
|
|
|
2024-04-26 00:16:28 +02:00
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Mangas`
|
2024-04-22 04:42:10 +02:00
|
|
|
|
|
|
|
|
|
Returns all known Manga.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
|
|
|
|
List of internalIds.
|
|
|
|
|
</details>
|
|
|
|
|
|
2024-04-26 00:51:18 +02:00
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Manga/Search`
|
|
|
|
|
|
|
|
|
|
Initiates a search for a Manga on all Connectors.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|-------------------------------------------------|
|
|
|
|
|
| title | Search Term |
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
|
|
|
|
List of [Manga](Types.md#Manga)
|
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|-------------------|
|
|
|
|
|
| 400 | Parameter missing |
|
|
|
|
|
</details>
|
|
|
|
|
|
2024-04-19 21:23:15 +02:00
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Manga/<internalId>`
|
|
|
|
|
|
|
|
|
|
Returns the specified Manga.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
`internalId` is returned in the response of
|
2024-04-22 04:42:10 +02:00
|
|
|
|
* [GET /v2/Manga](#-v2manga)
|
2024-04-19 21:35:38 +02:00
|
|
|
|
* [GET /v2/Connector/*ConnectorName*/GetManga](#-v2connectorconnectornamegetmanga)
|
2024-04-20 18:55:54 +02:00
|
|
|
|
* [GET /v2/Job/*jobId*](#-v2jobjobid)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
[Manga](Types.md#manga)
|
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|--------------------------------------------|
|
|
|
|
|
| 404 | Manga with `internalId` could not be found |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
2024-04-26 00:22:17 +02:00
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</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>
|
|
|
|
|
|
2024-04-19 21:23:15 +02:00
|
|
|
|
### <sub>![DELETE](https://img.shields.io/badge/DELETE-f00)</sub> `/v2/Manga/<internalId>`
|
|
|
|
|
|
|
|
|
|
Deletes all associated Jobs for the specified Manga
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
`internalId` is returned in the response of
|
2024-04-22 04:42:10 +02:00
|
|
|
|
* [GET /v2/Manga](#-v2manga)
|
2024-04-19 21:35:38 +02:00
|
|
|
|
* [GET /v2/Connector/*ConnectorName*/GetManga](#-v2connectorconnectornamegetmanga)
|
2024-04-20 18:55:54 +02:00
|
|
|
|
* [GET /v2/Job/*jobId*](#-v2jobjobid)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
2024-04-26 00:22:17 +02:00
|
|
|
|
|
|
|
|
|
[Manga](Types.md#manga)
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|--------------------------------------------|
|
2024-04-26 00:22:17 +02:00
|
|
|
|
| 200 | Manga was deleted |
|
2024-04-19 21:35:38 +02:00
|
|
|
|
| 404 | Manga with `internalId` could not be found |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Manga/<internalId>/Cover`
|
|
|
|
|
|
|
|
|
|
Returns the URL for the Cover of the specified Manga.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
`internalId` is returned in the response of
|
2024-04-22 04:42:10 +02:00
|
|
|
|
* [GET /v2/Manga](#-v2manga)
|
2024-04-20 18:55:54 +02:00
|
|
|
|
* [GET /v2/Connector/*ConnectorName*/GetManga](#-v2connectorconnectornamegetmanga)
|
|
|
|
|
* [GET /v2/Job/*jobId*](#-v2jobjobid)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
|
|
|
|
String with the url.
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|--------------------------------------------|
|
|
|
|
|
| 404 | Manga with `internalId` could not be found |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Manga/<internalId>/Chapters`
|
|
|
|
|
|
|
|
|
|
Returns the Chapter-list for the specified Manga.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
`internalId` is returned in the response of
|
2024-04-22 04:42:10 +02:00
|
|
|
|
* [GET /v2/Manga](#-v2manga)
|
2024-04-19 21:35:38 +02:00
|
|
|
|
* [GET /v2/Connector/*ConnectorName*/GetManga](#-v2connectorconnectornamegetmanga)
|
2024-04-20 18:55:54 +02:00
|
|
|
|
* [GET /v2/Job/*jobId*](#-v2jobjobid)
|
2024-04-22 04:42:10 +02:00
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|------------|------------------------|
|
|
|
|
|
| *language* | Language to search for |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
List of [Chapters](Types.md/#chapter)
|
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
2024-04-20 16:57:06 +02:00
|
|
|
|
|------------|--------------------------------------------|
|
|
|
|
|
| 404 | Manga with `internalId` could not be found |
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Manga/<internalId>/Chapters/latest`
|
|
|
|
|
|
|
|
|
|
Returns the latest Chapter of the specified Manga.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
|
|
|
|
`internalId` is returned in the response of
|
2024-04-22 04:42:10 +02:00
|
|
|
|
* [GET /v2/Manga](#-v2manga)
|
2024-04-20 16:57:06 +02:00
|
|
|
|
* [GET /v2/Connector/*ConnectorName*/GetManga](#-v2connectorconnectornamegetmanga)
|
2024-04-20 18:55:54 +02:00
|
|
|
|
* [GET /v2/Job/*jobId*](#-v2jobjobid)
|
2024-04-20 16:57:06 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
|
|
|
|
[Chapter](Types.md/#chapter)
|
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|------------|--------------------------------------------|
|
|
|
|
|
| 404 | Manga with `internalId` could not be found |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
2024-04-26 00:00:57 +02:00
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/Manga/<internalId>/ignoreChaptersBelow`
|
|
|
|
|
|
|
|
|
|
<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 |
|
|
|
|
|
|--------------|----------------------------|
|
|
|
|
|
| startChapter | Chapter-number to start at |
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|--------------------------------------------|
|
|
|
|
|
| 404 | Manga with `internalId` could not be found |
|
|
|
|
|
| 500 | Parsing Error |
|
|
|
|
|
</details>
|
|
|
|
|
|
2024-04-26 00:05:48 +02:00
|
|
|
|
### <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>
|
|
|
|
|
|
2024-04-19 21:23:15 +02:00
|
|
|
|
## Jobs <sup>[^top](#top)</sup>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Jobs`
|
|
|
|
|
|
|
|
|
|
Returns all configured Jobs.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
2024-04-19 21:38:46 +02:00
|
|
|
|
List of JobIds.
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Jobs/Running`
|
|
|
|
|
|
|
|
|
|
Returns all Running Jobs.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
2024-04-19 21:38:46 +02:00
|
|
|
|
|
|
|
|
|
List of JobIds.
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Jobs/Waiting`
|
|
|
|
|
|
|
|
|
|
Returns all Waiting Jobs.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
2024-04-19 21:38:46 +02:00
|
|
|
|
|
|
|
|
|
List of JobIds.
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Jobs/Monitoring`
|
|
|
|
|
|
|
|
|
|
Returns all Monitoring Jobs.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
2024-04-19 21:38:46 +02:00
|
|
|
|
|
|
|
|
|
List of JobIds.
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
2024-04-22 00:00:35 +02:00
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Job/Types`
|
2024-04-19 21:23:15 +02:00
|
|
|
|
|
2024-04-22 00:00:35 +02:00
|
|
|
|
Returns the valid Job-Types.
|
2024-04-19 21:23:15 +02:00
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-22 00:00:35 +02:00
|
|
|
|
List of strings.
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
2024-04-22 00:00:35 +02:00
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/Job/Create/<Type>`
|
2024-04-19 21:23:15 +02:00
|
|
|
|
|
2024-04-22 00:00:35 +02:00
|
|
|
|
Creates a Job.
|
2024-04-19 21:23:15 +02:00
|
|
|
|
|
|
|
|
|
<details>
|
2024-04-22 00:00:35 +02:00
|
|
|
|
<summary>Request</summary>
|
2024-04-19 21:23:15 +02:00
|
|
|
|
|
2024-04-22 00:00:35 +02:00
|
|
|
|
`Type` is returned in the response of [GET /v2/Job/Types](#-v2jobtypes)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
|
2024-04-25 23:55:31 +02:00
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|----------------|---------------------------------------------------------------------------------------------------|
|
|
|
|
|
| internalId | Manga ID |
|
|
|
|
|
| *customFolder* | Custom folder location<br />Only for MonitorManga, DownloadNewChapters and DownloadChapter |
|
|
|
|
|
| *startChapter* | Chapter to start downloading at<br />Only for MonitorManga, DownloadNewChapters |
|
|
|
|
|
| *interval* | Interval at which the Job is re-run in HH:MM:SS format<br />Only for MonitorManga, UpdateMetadata |
|
|
|
|
|
| *language* | Translated language<br />Only for MonitorManga, DownloadNewChapters and DownloadChapter |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
`internalId` is returned in the response of
|
2024-04-22 04:42:10 +02:00
|
|
|
|
* [GET /v2/Manga](#-v2manga)
|
2024-04-19 21:35:38 +02:00
|
|
|
|
* [GET /v2/Connector/*ConnectorName*/GetManga](#-v2connectorconnectornamegetmanga)
|
2024-04-20 18:55:54 +02:00
|
|
|
|
* [GET /v2/Job/*jobId*](#-v2jobjobid)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
[Job](Types.md#job)
|
|
|
|
|
|
2024-04-22 00:00:35 +02:00
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|------------------------------------------|
|
2024-04-25 23:50:06 +02:00
|
|
|
|
| 200 | Job created. |
|
2024-04-22 00:00:35 +02:00
|
|
|
|
| 404 | Parameter missing or could not be found. |
|
2024-04-25 23:50:06 +02:00
|
|
|
|
| 409 | Job already exists |
|
2024-04-22 00:00:35 +02:00
|
|
|
|
| 500 | Error parsing interval |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
2024-04-26 00:14:46 +02:00
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Job/`
|
|
|
|
|
|
|
|
|
|
Returns the list of Jobs requested.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|------------|--------------------------------|
|
|
|
|
|
| jobIds | Comma-Seperated list of jobIds |
|
|
|
|
|
|
|
|
|
|
`jobId` is returned in the response of
|
|
|
|
|
* [GET /v2/Jobs](#-v2jobs)
|
|
|
|
|
* [GET /v2/Jobs/Running](#-v2jobsrunning)
|
|
|
|
|
* [GET /v2/Jobs/Waiting](#-v2jobswaiting)
|
|
|
|
|
* [GET /v2/Jobs/Monitoring](#-v2jobsmonitoring)
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
|
|
|
|
List of [Jobs](Types.md#job)
|
|
|
|
|
|
2024-04-26 00:19:38 +02:00
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|-------------------------------------|
|
|
|
|
|
| 400 | Missing Parameter |
|
|
|
|
|
| 404 | Job with `jobId` could not be found |
|
2024-04-26 00:14:46 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
2024-04-19 21:23:15 +02:00
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Job/<jobId>`
|
|
|
|
|
|
|
|
|
|
Returns the specified Job.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
`jobId` is returned in the response of
|
|
|
|
|
* [GET /v2/Jobs](#-v2jobs)
|
|
|
|
|
* [GET /v2/Jobs/Running](#-v2jobsrunning)
|
|
|
|
|
* [GET /v2/Jobs/Waiting](#-v2jobswaiting)
|
|
|
|
|
* [GET /v2/Jobs/Monitoring](#-v2jobsmonitoring)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
[Job](Types.md#job)
|
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|---------------------------------------|
|
|
|
|
|
| 404 | Manga with `jobId` could not be found |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![DELETE](https://img.shields.io/badge/DELETE-f00)</sub> `/v2/Job/<jobId>`
|
|
|
|
|
|
|
|
|
|
Deletes the specified Job and all descendants.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
`jobId` is returned in the response of
|
|
|
|
|
* [GET /v2/Jobs](#-v2jobs)
|
|
|
|
|
* [GET /v2/Jobs/Running](#-v2jobsrunning)
|
|
|
|
|
* [GET /v2/Jobs/Waiting](#-v2jobswaiting)
|
|
|
|
|
* [GET /v2/Jobs/Monitoring](#-v2jobsmonitoring)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|---------------------------------------|
|
|
|
|
|
| 200 | Job deleted |
|
|
|
|
|
| 404 | Manga with `jobId` could not be found |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Job/<jobId>/Progress`
|
|
|
|
|
|
|
|
|
|
Returns the progress the of the specified Job.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
`jobId` is returned in the response of
|
|
|
|
|
* [GET /v2/Jobs](#-v2jobs)
|
|
|
|
|
* [GET /v2/Jobs/Running](#-v2jobsrunning)
|
|
|
|
|
* [GET /v2/Jobs/Waiting](#-v2jobswaiting)
|
|
|
|
|
* [GET /v2/Jobs/Monitoring](#-v2jobsmonitoring)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
[ProgressToken](Types.md#progresstoken)
|
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|---------------------------------------|
|
|
|
|
|
| 404 | Manga with `jobId` could not be found |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/Job/<jobId>/StartNow`
|
|
|
|
|
|
|
|
|
|
Starts the specified Job.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
`jobId` is returned in the response of
|
|
|
|
|
* [GET /v2/Jobs](#-v2jobs)
|
|
|
|
|
* [GET /v2/Jobs/Running](#-v2jobsrunning)
|
|
|
|
|
* [GET /v2/Jobs/Waiting](#-v2jobswaiting)
|
|
|
|
|
* [GET /v2/Jobs/Monitoring](#-v2jobsmonitoring)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|---------------------------------------|
|
|
|
|
|
| 200 | Job started |
|
|
|
|
|
| 404 | Manga with `jobId` could not be found |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/Job/<jobId>/Cancel`
|
|
|
|
|
|
|
|
|
|
Cancels the specified Job, or dequeues it.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
`jobId` is returned in the response of
|
|
|
|
|
* [GET /v2/Jobs](#-v2jobs)
|
|
|
|
|
* [GET /v2/Jobs/Running](#-v2jobsrunning)
|
|
|
|
|
* [GET /v2/Jobs/Waiting](#-v2jobswaiting)
|
|
|
|
|
* [GET /v2/Jobs/Monitoring](#-v2jobsmonitoring)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|---------------------------------------|
|
|
|
|
|
| 200 | Job cancelled |
|
|
|
|
|
| 404 | Manga with `jobId` could not be found |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
2024-04-20 16:59:51 +02:00
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/Job/<jobId>/SetInterval`
|
|
|
|
|
|
|
|
|
|
Edits the specified Job.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
|
|
|
|
`jobId` is returned in the response of
|
|
|
|
|
* [GET /v2/Jobs](#-v2jobs)
|
|
|
|
|
* [GET /v2/Jobs/Running](#-v2jobsrunning)
|
|
|
|
|
* [GET /v2/Jobs/Waiting](#-v2jobswaiting)
|
|
|
|
|
* [GET /v2/Jobs/Monitoring](#-v2jobsmonitoring)
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|---------------------------------------|
|
|
|
|
|
| 404 | Manga with `jobId` could not be found |
|
|
|
|
|
</details>
|
|
|
|
|
|
2024-04-19 21:23:15 +02:00
|
|
|
|
## Settings <sup>[^top](#top)</sup>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Settings`
|
|
|
|
|
|
|
|
|
|
Returns the `settings.json` file.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
[Settings](Types.md#settings)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Settings/UserAgent`
|
|
|
|
|
|
|
|
|
|
Returns the current User Agent used for Requests.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
[UserAgent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/Settings/UserAgent`
|
|
|
|
|
|
|
|
|
|
Sets the User Agent. If left empty, User Agent is reset to default.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|----------------------------------------------------------------------------------------|
|
|
|
|
|
| value | New [UserAgent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent) |
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
2024-04-22 03:03:17 +02:00
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|-------------------|
|
|
|
|
|
| 202 | UserAgent Reset |
|
|
|
|
|
| 201 | UserAgent Updated |
|
|
|
|
|
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Settings/RateLimit/Types`
|
|
|
|
|
|
|
|
|
|
Returns the configurable Rate-Limits.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-22 03:03:17 +02:00
|
|
|
|
Key-Value-Pairs of Values and RateLimit-Names.
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Settings/RateLimit`
|
|
|
|
|
|
|
|
|
|
Returns the current configuration of Rate-Limits for Requests.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
Dictionary of `Rate-Limits` and `Requests per Minute`
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/Settings/RateLimit`
|
|
|
|
|
|
|
|
|
|
Sets the Rate-Limits for all Requests. If left empty, resets to default Rate-Limits.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
For each Rate-Limit set as follows:
|
|
|
|
|
|
2024-04-22 03:03:17 +02:00
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|--------------------------------------|-----------------------|
|
|
|
|
|
| [Type](#-v2settingsratelimittypes) | Requests per Minute |
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
2024-04-22 03:03:17 +02:00
|
|
|
|
`Type` is returned by [GET /v2/Settings/RateLimit/Types](#-v2settingsratelimittypes) and should be supplied as string
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-22 03:03:17 +02:00
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|------------------------------------------------|
|
|
|
|
|
| 500 | Error parsing RequestType or RequestsPerMinute |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Settings/RateLimit/<Type>`
|
|
|
|
|
|
|
|
|
|
Returns the current Rate-Limit for the Request-Type.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
`Type` is returned by [GET /v2/Settings/RateLimit/Types](#-v2settingsratelimittypes)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
Integer with Requests per Minute.
|
2024-04-22 03:03:17 +02:00
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|-----------------------------------------------|
|
|
|
|
|
| 404 | Error parsing RequestType |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/Settings/RateLimit/<Type>`
|
|
|
|
|
|
|
|
|
|
Sets the Rate-Limit for the Request-Type in Requests per Minute.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
`Type` is returned by [GET /v2/Settings/RateLimit/Types](#-v2settingsratelimittypes)
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|---------------------|
|
|
|
|
|
| value | Requests per Minute |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|--------------------------------|
|
|
|
|
|
| 404 | Rate-Limit-Name does not exist |
|
|
|
|
|
| 500 | Parsing Error |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Settings/AprilFoolsMode`
|
|
|
|
|
|
|
|
|
|
Returns the current state of the April-Fools-Mode setting.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
Boolean
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
2024-04-20 17:56:54 +02:00
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/Settings/AprilFoolsMode`
|
2024-04-19 21:23:15 +02:00
|
|
|
|
|
|
|
|
|
Enables/Disables April-Fools-Mode.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|------------|
|
|
|
|
|
| value | true/false |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|--------------------------------|
|
|
|
|
|
| 500 | Parsing Error |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/Settings/DownloadLocation`
|
|
|
|
|
|
|
|
|
|
Updates the default Download-Location.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-------------|------------------|
|
|
|
|
|
| location | New Folder-Path |
|
|
|
|
|
| *moveFiles* | __*true*__/false |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
|
|
|
|
|
2024-04-22 03:03:17 +02:00
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|---------------------------------|
|
|
|
|
|
| 200 | Successfully changed |
|
|
|
|
|
| 404 | Parameter 'location' is missing |
|
|
|
|
|
| 500 | Parsing Error |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
## Library Connectors <sup>[^top](#top)</sup>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/LibraryConnector`
|
|
|
|
|
|
|
|
|
|
Returns the configured Library-Connectors.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
List of [LibraryConnectors](Types.md#libraryconnector)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/LibraryConnector/Types`
|
|
|
|
|
|
|
|
|
|
Returns the available Library-Connector types.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
List of String of Names.
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/LibraryConnector/<Type>`
|
|
|
|
|
|
|
|
|
|
Returns the Library-Connector for the specified Type.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
`Type` is returned by [GET /v2/LibraryConnector/Types](#-v2libraryconnectortypes)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
[LibraryConnector](Types.md#libraryconnector)
|
|
|
|
|
|
2024-04-23 00:48:25 +02:00
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|----------------------------------------------------|
|
|
|
|
|
| 404 | Library Connector of specified Type does not exist |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/LibraryConnector/<Type>`
|
|
|
|
|
|
|
|
|
|
Creates a Library-Connector of the specified Type.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
`Type` is returned by [GET /v2/LibraryConnector/Types](#-v2libraryconnectortypes)
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-------------|--------------------|
|
|
|
|
|
| URL | URL of the Library |
|
|
|
|
|
|
|
|
|
|
#### Type specific Parameters (must be included for each)
|
|
|
|
|
* Komga
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|-------------------------------------------------------------------------------------------------------------------|
|
|
|
|
|
| auth | [Base64 encoded Basic-Authentication-String](https://datatracker.ietf.org/doc/html/rfc7617) (`username:password`) |
|
|
|
|
|
|
|
|
|
|
* Kavita
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|-----------------|
|
|
|
|
|
| username | Kavita Username |
|
|
|
|
|
| password | Kavita Password |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
[LibraryConnector](Types.md#libraryconnector)
|
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|----------------------------------|
|
|
|
|
|
| 404 | Library Connector does not exist |
|
2024-04-23 00:48:25 +02:00
|
|
|
|
| 406 | Missing Parameter |
|
2024-04-19 21:35:38 +02:00
|
|
|
|
| 500 | Parsing Error |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/LibraryConnector/<Type>/Test`
|
|
|
|
|
|
|
|
|
|
Tests a Library-Connector of the specified Type.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
`Type` is returned by [GET /v2/LibraryConnector/Types](#-v2libraryconnectortypes)
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-------------|--------------------|
|
|
|
|
|
| URL | URL of the Library |
|
|
|
|
|
|
|
|
|
|
#### Type specific Parameters (must be included for each)
|
|
|
|
|
* Komga
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|-------------------------------------------------------------------------------------------------------------------|
|
|
|
|
|
| auth | [Base64 encoded Basic-Authentication-String](https://datatracker.ietf.org/doc/html/rfc7617) (`username:password`) |
|
|
|
|
|
|
|
|
|
|
* Kavita
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|-----------------|
|
|
|
|
|
| username | Kavita Username |
|
|
|
|
|
| password | Kavita Password |
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-23 00:48:25 +02:00
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|------------------------------------|
|
|
|
|
|
| 200 | Test successful |
|
|
|
|
|
| 404 | Library Connector does not exist |
|
|
|
|
|
| 406 | Missing Parameter |
|
|
|
|
|
| 424 | Test failed |
|
|
|
|
|
| 500 | Parsing Error |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![DELETE](https://img.shields.io/badge/DELETE-f00)</sub> `/v2/LibraryConnector/<Type>`
|
|
|
|
|
|
|
|
|
|
Deletes the Library-Connector of the specified Type.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
`Type` is returned by [GET /v2/LibraryConnector/Types](#-v2libraryconnectortypes)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|---------------------------------------|
|
|
|
|
|
| 200 | Deleted |
|
|
|
|
|
| 404 | Library Connector Type does not exist |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
## Notification Connectors <sup>[^top](#top)</sup>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/NotificationConnector`
|
|
|
|
|
|
|
|
|
|
Returns the configured Notification-Connectors.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
List of [NotificationConnectors](Types.md#notificationconnector)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/NotificationConnector/Types`
|
|
|
|
|
|
|
|
|
|
Returns the available Notification-Connectors.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
|
|
|
|
|
List of String of Names.
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/NotificationConnector/<Type>`
|
|
|
|
|
|
|
|
|
|
Returns the configured Notification-Connector of the specified Type.
|
|
|
|
|
|
|
|
|
|
<details>
|
2024-04-19 21:35:38 +02:00
|
|
|
|
<summary>Request</summary>
|
2024-04-19 21:23:15 +02:00
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
`Type` is returned by [GET /v2/NotificationConnector/Types](#-v2notificationconnectortypes)
|
|
|
|
|
</details>
|
2024-04-19 21:23:15 +02:00
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
|
|
|
|
[Notification Connector](Types.md#notificationconnector)
|
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|---------------------------------------|
|
|
|
|
|
| 404 | Library Connector Type does not exist |
|
2024-04-23 00:58:19 +02:00
|
|
|
|
| 500 | Parsing Error |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/NotificationConnector/<Type>`
|
|
|
|
|
|
|
|
|
|
Creates a Notification-Connector of the specified Type.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
`Type` is returned by [GET /v2/NotificationConnector/Types](-v2notificationconnectortypes)
|
|
|
|
|
|
|
|
|
|
#### Type specific Parameters (must be included for each)
|
|
|
|
|
* Gotify
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|---------------------------------------|
|
|
|
|
|
| url | URL of the Gotify Instance |
|
|
|
|
|
| appToken | AppToken of the configured Gotify App |
|
|
|
|
|
|
|
|
|
|
* LunaSea
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|-----------------|
|
|
|
|
|
| webhook | LunaSea Webhook |
|
|
|
|
|
|
|
|
|
|
* Nty
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|--------------------------|
|
|
|
|
|
| url | URL of the Ntfy Instance |
|
|
|
|
|
| auth | Auth-String |
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
|
|
|
|
[NotificationConnector](Types.md#notificationconnector)
|
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|--------------------------------------------|
|
|
|
|
|
| 404 | Notification Connector Type does not exist |
|
2024-04-23 00:58:19 +02:00
|
|
|
|
| 406 | Missing Parameter |
|
2024-04-19 21:35:38 +02:00
|
|
|
|
| 500 | Parsing Error |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/NotificationConnector/<Type>/Test`
|
|
|
|
|
|
|
|
|
|
Tests a Notification-Connector of the specified Type.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
`Type` is returned by [GET /v2/NotificationConnector/Types](#-v2notificationconnectortypes)
|
|
|
|
|
|
|
|
|
|
#### Type specific Parameters (must be included for each)
|
|
|
|
|
* Gotify
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|---------------------------------------|
|
|
|
|
|
| url | URL of the Gotify Instance |
|
|
|
|
|
| appToken | AppToken of the configured Gotify App |
|
|
|
|
|
|
|
|
|
|
* LunaSea
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|-----------------|
|
|
|
|
|
| webhook | LunaSea Webhook |
|
|
|
|
|
|
|
|
|
|
* Ntfy
|
|
|
|
|
|
|
|
|
|
| Parameter | Value |
|
|
|
|
|
|-----------|--------------------------|
|
|
|
|
|
| url | URL of the Ntfy Instance |
|
|
|
|
|
| auth | Auth-String |
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|--------------------------------------------|
|
|
|
|
|
| 200 | Test successful |
|
|
|
|
|
| 404 | Notification Connector Type does not exist |
|
2024-04-23 00:58:19 +02:00
|
|
|
|
| 406 | Missing Parameter |
|
2024-04-19 21:35:38 +02:00
|
|
|
|
| 500 | Parsing Error |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![DELETE](https://img.shields.io/badge/DELETE-f00)</sub> `/v2/NotificationConnector/<Type>`
|
|
|
|
|
|
|
|
|
|
Deletes the Notification-Connector of the specified Type.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Request</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
`Type` is returned by [GET /v2/NotificationConnector/Types](#-v2notificationconnectortypes)
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|--------------------------------------------|
|
|
|
|
|
| 200 | Deleted |
|
|
|
|
|
| 404 | Notification Connector Type does not exist |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
## Miscellaneous <sup>[^top](#top)</sup>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/LogFile`
|
|
|
|
|
|
|
|
|
|
Returns the current log-file.
|
|
|
|
|
|
|
|
|
|
<details>
|
|
|
|
|
<summary>Returns</summary>
|
|
|
|
|
|
2024-04-19 21:35:38 +02:00
|
|
|
|
The Logfile as Stream.
|
2024-04-22 03:19:56 +02:00
|
|
|
|
|
|
|
|
|
| StatusCode | Meaning |
|
|
|
|
|
|------------|------------|
|
|
|
|
|
| 404 | No Logfile |
|
2024-04-19 21:23:15 +02:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### <sub>![GET](https://img.shields.io/badge/GET-0f0)</sub> `/v2/Ping`
|
|
|
|
|
|
|
|
|
|
Pong!
|
|
|
|
|
|
|
|
|
|
### <sub>![POST](https://img.shields.io/badge/POST-00f)</sub> `/v2/Ping`
|
|
|
|
|
|
|
|
|
|
Pong!
|