add flagging and liking endpoint documentation