mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 11:21:24 +00:00
Make referencing endpoints more consistent
This commit is contained in:
parent
55d5e43cd2
commit
300fcdac05
1 changed files with 2 additions and 2 deletions
|
@ -259,10 +259,10 @@ pict-rs offers the following endpoints:
|
|||
}
|
||||
```
|
||||
- `GET /image/download?url={url}&backgrounded=(true|false)&ephemeral=(true|false)` Download an image
|
||||
from a remote server, returning the same JSON payload as the `POST` endpoint by default.
|
||||
from a remote server, returning the same JSON payload as the `POST /image` endpoint by default.
|
||||
|
||||
if `backgrounded` is set to `true`, then the ingest processing will be queued for later and the
|
||||
response json will be the same as the `/image/backgrounded` endpoint.
|
||||
response json will be the same as the `POST /image/backgrounded` endpoint.
|
||||
|
||||
if `ephemeral` is set to true, the downloaded image will be marked as a "cached" image, and
|
||||
automatically removed from pict-rs N hours after its last access. The duration is configurable
|
||||
|
|
Loading…
Reference in a new issue