mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
Formatting
This commit is contained in:
parent
df3ca39fd3
commit
78d0e72af8
1 changed files with 5 additions and 1 deletions
|
@ -64,7 +64,11 @@ pict-rs offers four endpoints:
|
||||||
- `identity`: apply no changes
|
- `identity`: apply no changes
|
||||||
- `blur{float}`: apply a gaussian blur to the file
|
- `blur{float}`: apply a gaussian blur to the file
|
||||||
- `{int}`: produce a thumbnail of the image fitting inside an `{int}` by `{int}` square
|
- `{int}`: produce a thumbnail of the image fitting inside an `{int}` by `{int}` square
|
||||||
An example of usage could be `GET /image/256/blur3.0/asdf.png`, which would create a 256x256px
|
An example of usage could be
|
||||||
|
```
|
||||||
|
GET /image/256/blur3.0/asdf.png
|
||||||
|
```
|
||||||
|
which would create a 256x256px
|
||||||
thumbnail and blur it
|
thumbnail and blur it
|
||||||
- `DELETE /image/{delete_token}/{file}` to delete a file, where `delete_token` and `file` are from
|
- `DELETE /image/{delete_token}/{file}` to delete a file, where `delete_token` and `file` are from
|
||||||
the `/image` endpoint's JSON
|
the `/image` endpoint's JSON
|
||||||
|
|
Loading…
Reference in a new issue