about summary refs log tree commit diff
path: root/app/views/api
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-07 13:25:26 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-07 13:25:26 +0100
commitfe57f6330f089d023f0fa4db7f7c8a51551d2ee9 (patch)
tree876f5ce296897d08baa98fe57007108bc97d79dc /app/views/api
parentf099bc6091b55c598a55f252041cb3af6043caf4 (diff)
API methods for retrieving home and mentions timelines
Diffstat (limited to 'app/views/api')
-rw-r--r--app/views/api/statuses/home.rabl2
-rw-r--r--app/views/api/statuses/mentions.rabl2
2 files changed, 4 insertions, 0 deletions
diff --git a/app/views/api/statuses/home.rabl b/app/views/api/statuses/home.rabl
new file mode 100644
index 000000000..12f00dd21
--- /dev/null
+++ b/app/views/api/statuses/home.rabl
@@ -0,0 +1,2 @@
+collection @statuses
+extends('api/statuses/show')
diff --git a/app/views/api/statuses/mentions.rabl b/app/views/api/statuses/mentions.rabl
new file mode 100644
index 000000000..12f00dd21
--- /dev/null
+++ b/app/views/api/statuses/mentions.rabl
@@ -0,0 +1,2 @@
+collection @statuses
+extends('api/statuses/show')