diff options
| author | Neo <50623835+neobooru@users.noreply.github.com> | 2024-04-26 22:16:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-26 22:16:37 +0200 |
| commit | 4f9d46e1c2c64728c3d13c06b743a92b76a62f4a (patch) | |
| tree | 83c0a00bdf7e4f2ea7264f049416254a26144c53 /doc/API.md | |
| parent | 4ec8cb3ba2cd81a9189426d040f08a7f66e5a895 (diff) | |
| parent | 5596f537442f4a5d43ebc43b1165253bc137da4d (diff) | |
Merge branch 'master' into better-links
Diffstat (limited to 'doc/API.md')
| -rw-r--r-- | doc/API.md | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -54,7 +54,7 @@ - [Deleting pool category](#deleting-pool-category) - [Setting default pool category](#setting-default-pool-category) - Pools - - [Listing pools](#listing-pool) + - [Listing pools](#listing-pools) - [Creating pool](#creating-pool) - [Updating pool](#updating-pool) - [Getting pool](#getting-pool) @@ -165,9 +165,9 @@ way. The files, however, should be passed as regular fields appended with a accepts a file named `content`, the client should pass `{"contentUrl":"http://example.com/file.jpg"}` as a part of the JSON message body. When creating or updating post content using this method, the server can -also be configured to employ [youtube-dl](https://github.com/ytdl-org/youtube-dl) -to download content from popular sites such as youtube, gfycat, etc. Access to -youtube-dl can be configured with the `'uploads:use_downloader'` permission +also be configured to employ [yt-dlp](https://github.com/yt-dlp/yt-dlp) to +download content from popular sites such as youtube, gfycat, etc. Access to +yt-dlp can be configured with the `'uploads:use_downloader'` permission Finally, in some cases the user might want to reuse one file between the requests to save the bandwidth (for example, reverse search + consecutive @@ -323,7 +323,7 @@ data. { "name": <name>, "color": <color>, - "order": <order> // optional + "order": <order> } ``` @@ -1389,7 +1389,7 @@ data. ## Creating pool - **Request** - `POST /pools/create` + `POST /pool` - **Input** @@ -2491,7 +2491,7 @@ One file together with its metadata posted to the site. ## Micro post **Description** -A [post resource](#post) stripped down to `name` and `thumbnailUrl` fields. +A [post resource](#post) stripped down to `id` and `thumbnailUrl` fields. ## Note **Description** |