Editing evaluations?
Closed this issue · 2 comments
JettBurns14 commented
Check if the API allows it first. If so, it'd be cool if editing evaluations was implemented. Editing would work like any other discussion post.
MatthiasPortzel commented
I can confirm that editing evaluations is valid, the exact same ways as editing replies and T&T and questions. A PUT
request to https://www.khanacademy.org/api/internal/discussions/scratchpad/5282270105993216/projectevalanswer/[kaencrypted id of the evaluation]
with data formatted the same way as the initial POST request.
{
"questionKey":"[kaencrypted id of the evaluation request]",
"initVote":"-1",
"shownLowQualityNotice":false,
"text":"Raw HTML for the request."
}
The difficulty is if we want to duplicate KA's UI and not just make all the HTML editable.
JettBurns14 commented
Would have been interesting to dive into the evaluations APIs, but alas, they are no more.