From ae1fac006206ab28cd7cba63ab85c07a27f3d606 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 5 Sep 2016 17:46:36 +0200 Subject: Add API to upload media attachments --- app/views/api/media/create.rabl | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 app/views/api/media/create.rabl (limited to 'app/views') 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) } -- cgit