summaryrefslogtreecommitdiff
path: root/doc/API.md
diff options
context:
space:
mode:
authorNeo <50623835+neobooru@users.noreply.github.com>2024-04-26 22:16:37 +0200
committerGitHub <noreply@github.com>2024-04-26 22:16:37 +0200
commit4f9d46e1c2c64728c3d13c06b743a92b76a62f4a (patch)
tree83c0a00bdf7e4f2ea7264f049416254a26144c53 /doc/API.md
parent4ec8cb3ba2cd81a9189426d040f08a7f66e5a895 (diff)
parent5596f537442f4a5d43ebc43b1165253bc137da4d (diff)
Merge branch 'master' into better-links
Diffstat (limited to 'doc/API.md')
-rw-r--r--doc/API.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/API.md b/doc/API.md
index 63a50a2..00ee75a 100644
--- a/doc/API.md
+++ b/doc/API.md
@@ -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**