Eugen Rochko
10fc551576
Fix unpermitted parameters warning when generating pagination URLs ( #6995 )
7 years ago
Akihiko Odaki
98ba57efca
Merge queries in Api::V1::FavouritesController ( #4359 )
7 years ago
Eugen Rochko
20e15ecfb3
Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ( #4090 )
7 years ago
Matt Jankowski
76f986d07b
Clean up for api/base controller ( #3629 )
...
* Move ApiController to Api/BaseController
* API controllers inherit from Api::BaseController
* Add coverage for various error cases in api/base controller
8 years ago
Naoki Kosaka
13aa805de8
Fix limit_param in favourites_controller.rb ( #3553 )
8 years ago
Matt Jankowski
6237abaaa3
Improve spec coverage and clean up api/v1/favourites controller ( #3472 )
8 years ago
Eugen
3047a8da74
Make public timelines API not require user context/app credentials ( #1291 )
...
* Make /api/v1/timelines/public and /api/v1/timelines/tag/:id public
Fix #1156 - respect query params when generating pagination links in API
* Apply pagination fix to more APIs
8 years ago
Eugen Rochko
96e58cf289
Add counter caches for a large performance increase on API requests
8 years ago
Eugen Rochko
b4ec84067a
API now respects ?limit param as long as it's within 2x default limit
8 years ago
Eugen Rochko
f4d7f4c687
Fix #238 - Add "favourites" column
8 years ago
Eugen Rochko
6a20c13009
Add API for retrieving favourites
8 years ago