You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return the best answer of the user on the given item (among all attempts). The best answer is defined as the one which gives the highest score, if there are several ones, the last (by created_at) one.
Without watched_group_id, it applies to the current-user. With it, it returns for the one for the watched participant.
Input
item_id
watched_group_id (optional)
Output
same as currentAnswerGet
Validations
if watched_group_id is given, the current user must be allowed to watch "answer" of the item identified by item_id
if watched_group_id is given, it must be a participant (= team or user)
if watched_group_id is given, the current user must be allowed to watch the participant
The text was updated successfully, but these errors were encountered:
Overview
On
GET /items/{item_id}/best-answer
Return the best answer of the user on the given item (among all attempts). The best answer is defined as the one which gives the highest score, if there are several ones, the last (by
created_at
) one.Without
watched_group_id
, it applies to the current-user. With it, it returns for the one for the watched participant.Input
item_id
watched_group_id
(optional)Output
same as
currentAnswerGet
Validations
watched_group_id
is given, the current user must be allowed to watch "answer" of the item identified byitem_id
watched_group_id
is given, it must be a participant (= team or user)watched_group_id
is given, the current user must be allowed to watch the participantThe text was updated successfully, but these errors were encountered: