Web-based responsive document annotation tool
activeannoservice / api.annotate / io.ktor.routing.Route / curate
fun Route.curate(applicationConfig:
ApplicationConfig
, userDAO:
UserDAO
, projectDAO:
ProjectDAO
, documentDAO:
DocumentDAO
):
Unit
Curate routes are used by the frontend for users that are curators for a project. Therefore, it provides endpoints to get projects for curation as well as documents, and endpoints to post the annotation results