The Cybre.Space fork of Mastodon -- https://github.com/tootsuite/mastodon https://cybre.space
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
262B

  1. module Mastodon
  2. class Rest < Grape::API
  3. version 'v1', using: :path
  4. format :json
  5. resource :statuses do
  6. desc 'Return a public timeline'
  7. get :all do
  8. present Status.all, with: Mastodon::Entities::Status
  9. end
  10. end
  11. end
  12. end