Add API to upload media attachments
This commit is contained in:
parent
05001d54d1
commit
ae1fac0062
19 changed files with 139 additions and 3 deletions
3
app/views/api/media/create.rabl
Normal file
3
app/views/api/media/create.rabl
Normal file
|
@ -0,0 +1,3 @@
|
|||
object @media
|
||||
attribute :id
|
||||
node(:url) { |media| full_asset_url(media.file.url) }
|
Loading…
Add table
Add a link
Reference in a new issue