Fix container build for sharp, slug lookup and select fields
- build the runtime image so libvips lands next to the sharp binary - GET /api/v1/posts/:slug finds drafts by slug for write clients - media upload documented with project slug instead of a project id - own select control instead of the browser default - quieter sidebar footer, project name leads to its entries
This commit is contained in:
+3
-1
@@ -114,11 +114,13 @@ Lädt ein Bild hoch, erzeugt WebP-Varianten und legt einen Datensatz an. Braucht
|
||||
```bash
|
||||
curl -s -X POST -H "Authorization: Bearer $TOKEN" \
|
||||
-F "file=@screenshot.png" \
|
||||
-F "projectId=<projekt-id>" \
|
||||
-F "project=trakk" \
|
||||
-F "alt=Spaltenmenü mit den neuen Einträgen" \
|
||||
http://localhost:4700/api/v1/media
|
||||
```
|
||||
|
||||
`project` ist der Slug des Projekts. Bei einem projektgebundenen Token darf das Feld wegbleiben.
|
||||
|
||||
Grenzen: nur Bildformate, höchstens 15 MB.
|
||||
|
||||
### GET /api/v1/media/file/...
|
||||
|
||||
Reference in New Issue
Block a user