mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
61b82e3ae2
closes https://github.com/TryGhost/Toolbox/issues/120 - Allows to update and upload brand new thumbnail images for previusly uploaded media resources - The endpoint is available udner alpa flag as part of Admin API at `PUT /media/thumbnail/` - As an input accepts following parameters: - *required* `file` field containing an image file - *required* `url` field containing parent media file URL - *optional* `ref` as a field to put in an ID to reference the resource on the client side - The response has following format: ``` { media: [{ url: 'http://127.0.0.1:2369/content/images/1991/11/nicevideo_thumb.png' ref: 'unique-id-420' }] } ``` |
||
---|---|---|
.. | ||
e2e-api | ||
e2e-frontend | ||
e2e-server | ||
integration | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.js | ||
.jshintrc |