update REST documentation for discussions module