The commentable_ids param is a comma-delimited list of ids indicating that only threads belonging to one of the specified commentables should be returned. It can now be used by any endpoint that delegates to handle_threads_query (most importantly "#{APIPREFIX}/threads"), and the commentable_id field is now indexed for efficient filtering. The motivation for this change is to allow clients that are filtering by commentable_ids to avoid using the /search/threads endpoint, which does not do sorting and pagination correctly.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
abuse_spec.rb | Loading commit data... | |
comment_spec.rb | Loading commit data... | |
comment_thread_spec.rb | Loading commit data... | |
commentable_spec.rb | Loading commit data... | |
notifications_spec.rb | Loading commit data... | |
query_spec.rb | Loading commit data... | |
search_spec.rb | Loading commit data... | |
subscription_and_notification_spec.rb | Loading commit data... | |
user_spec.rb | Loading commit data... | |
vote_spec.rb | Loading commit data... |