feat: allow for uploading of media data
Regaez opened this issue · 2 comments
Regaez commented
Currently, there is no way to upload media such as images/pdfs etc to a page. A separate resource could be useful to separate the media from the page's data. Perhaps an endpoint such as:
POST /api/media
, orPOST /api/images
, orPOST /api/data
Regaez commented
It could be great if you could create/edit media meta files via this endpoint, too.
See docs for more info regarding metafiles: https://learn.getgrav.org/16/content/media#metafiles