Add "meta" attribute to return of POST /api/v1/media method as well (#3333)
parent
e600e0d0c5
commit
04a0a1d4ba
@ -1,5 +1,7 @@
|
||||
object @media
|
||||
attribute :id, :type
|
||||
node(:url) { |media| full_asset_url(media.file.url(:original)) }
|
||||
|
||||
node(:url) { |media| full_asset_url(media.file.url(:original)) }
|
||||
node(:preview_url) { |media| full_asset_url(media.file.url(:small)) }
|
||||
node(:text_url) { |media| medium_url(media) }
|
||||
node(:text_url) { |media| medium_url(media) }
|
||||
node(:meta) { |media| media.file.meta }
|
||||
|
Loading…
Reference in new issue