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