diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-05 17:46:36 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-05 17:46:36 +0200 |
commit | ae1fac006206ab28cd7cba63ab85c07a27f3d606 (patch) | |
tree | 61f9cd45d7ed804eab85ae6a28cee584af90bfe3 /app/views/api | |
parent | 05001d54d15c486caa6cebe9462222d37d87576d (diff) |
Add API to upload media attachments
Diffstat (limited to 'app/views/api')
-rw-r--r-- | app/views/api/media/create.rabl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/api/media/create.rabl b/app/views/api/media/create.rabl new file mode 100644 index 000000000..23909066d --- /dev/null +++ b/app/views/api/media/create.rabl @@ -0,0 +1,3 @@ +object @media +attribute :id +node(:url) { |media| full_asset_url(media.file.url) } |