mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03: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' }] } ``` |
||
---|---|---|
.. | ||
actions.test.js | ||
config.test.js | ||
custom_theme_settings.test.js | ||
db.test.js | ||
email_preview.test.js | ||
emails.test.js | ||
files.test.js | ||
images.test.js | ||
integrations.test.js | ||
invites.test.js | ||
key_authentication.test.js | ||
labels.test.js | ||
mail.test.js | ||
media.test.js | ||
members.test.js | ||
notifications.test.js | ||
oembed.test.js | ||
pages.test.js | ||
posts.test.js | ||
roles.test.js | ||
settings.test.js | ||
slugs.test.js | ||
snippets.test.js | ||
tags.test.js | ||
themes.test.js | ||
users.test.js | ||
utils.js | ||
webhooks.test.js |