Commit Graph

7 Commits

Author SHA1 Message Date
christopher lee
ed3bb27df8 Thread sort key and direction for discussion api
Discussion API for thread sorting now takes the sort_by
parameter for the sort key such as by comment_count or
vote_count. Also takes the sort_direction parameter for
sorting the thread results.
2015-07-28 14:34:30 -04:00
christopher lee
5d8d1619a0 Added unanswered/unread query params for thread in discussion api
Discusion API now takes a view parameter when getting a thread list.
This view parameter only takes "unread" or "unanswered" as possible
values.
2015-07-23 11:41:08 -04:00
Greg Price
54756317f1 Add followed thread retrieval to discussion API
This implements the "following" value for the "view" query parameter on
the thread list endpoint.
2015-06-23 13:38:34 -04:00
Greg Price
fecbdcd052 Add text_search parameter to discussion API
The thread list endpoint now accepts the text_search parameter and also
includes a text_search_rewrite field in its responses.
2015-06-17 10:20:13 -04:00
christopher lee
f552eca7d6 MA-642 Add topic_id query to discussion/thread api
Also added thread_list_url field.
2015-06-03 11:29:48 -04:00
Greg Price
2451e06788 Add comment list endpoint to Discussion API 2015-05-20 13:13:19 -04:00
Greg Price
90f28dce31 Add thread list endpoint to the new discussion API
This is an initial implementation that only allows retrieval of all
threads for a course and only returns an easily computed subset of the
fields that are needed, in order to keep this change from getting too
large.

JIRA: MA-641
2015-05-05 11:45:09 -04:00