Add API to upload media attachments
This commit is contained in:
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) }
|
Reference in New Issue
Block a user