christopher lee
5b35ab3668
Added optional mark_as_read field to comments in Discussion API
...
Currently when GETting comments, the thread of the comment will be
marked as read. This change makes this effect optional as well as
setting the default to not mark the thread as read.
2015-08-12 12:25:06 -04:00
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
Sarina Canelake
ba8fd1c21d
Eliminate instances of unused-import Pylint violation
2015-07-13 17:33:25 -04:00
Christopher Lee
13dbfb8679
Merge pull request #8589 from edx/gprice/discussion-api-abuse-flagged
...
Add abuse flagging to discussion API
2015-06-23 18:08:58 -04:00
Greg Price
52a3306e2a
Add abuse flagging to discussion API
...
Flagging/unflagging is done by issuing a PATCH request on a thread or
comment endpoint with the "abuse_flagged" field set.
2015-06-23 17:22:54 -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
82b117f66e
Merge pull request #8543 from edx/gprice/discussion-api-comment-vote
...
Add comment voting to discussion API
2015-06-17 19:41:08 -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
Greg Price
0998df8c4b
Add comment voting to discussion API
2015-06-16 23:32:48 -04:00
Greg Price
37ebbc45e3
Add thread voting to discussion API
2015-06-05 16:12:54 -04:00
Greg Price
9ff8749716
Add ability to follow a thread in discussion API
2015-06-05 13:20:57 -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
df3e6535dc
Add "following" parameter to thread creation
...
This allows authors to follow the thread immediately upon creation.
2015-05-27 10:58:14 -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