mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
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' }] } ``` |
||
---|---|---|
.. | ||
adapters | ||
api | ||
data | ||
lib | ||
models | ||
services | ||
views | ||
web | ||
analytics-events.js | ||
ghost-server.js | ||
notify.js | ||
overrides.js | ||
run-update-check.js | ||
update-check.js |