You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/controllers/api/v1
Paul Woolcock 0c933c1b8c Add `account_id` param to `GET /api/v1/notifications` (#10796)
* Add `from_account` to notifications API

this adds the ability to filter notifications by the account they
originated from

* passing a non-existent user should cause none to be returned

* Fix codeclimate warnings

* fix more codeclimate warnings

* make requested changes:

* use account id instead of user@domain
* name the param `account_id` instead of `from_account`

* Don't use `return` in a lambda
7 years ago
..
accounts Improve blocked view of profiles (#10491) 7 years ago
apps Add vapid_key to the application entity in the REST API (#10058) 7 years ago
instances Explicitly disable storage of REST API results (#10655) 7 years ago
lists
polls Add polls (#10111) 7 years ago
push
statuses Improve blocked view of profiles (#10491) 7 years ago
timelines Fix `tagged` param not being normalized before querying tags (#10249) 7 years ago
accounts_controller.rb Improve blocked view of profiles (#10491) 7 years ago
apps_controller.rb
blocks_controller.rb
conversations_controller.rb
custom_emojis_controller.rb Explicitly disable storage of REST API results (#10655) 7 years ago
domain_blocks_controller.rb
endorsements_controller.rb
favourites_controller.rb
filters_controller.rb
follow_requests_controller.rb
follows_controller.rb
instances_controller.rb Explicitly disable storage of REST API results (#10655) 7 years ago
lists_controller.rb
media_controller.rb
mutes_controller.rb
notifications_controller.rb Add `account_id` param to `GET /api/v1/notifications` (#10796) 7 years ago
polls_controller.rb Add polls (#10111) 7 years ago
preferences_controller.rb Add a preferences API so apps can share basic behaviours (#10109) 7 years ago
reports_controller.rb
scheduled_statuses_controller.rb
search_controller.rb Add type, limit, offset, min_id, max_id, account_id to search API (#10091) 7 years ago
statuses_controller.rb Add toot source to delete result to ease Delete & Redraft (#10669) 7 years ago
streaming_controller.rb
suggestions_controller.rb