ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / api.import / io.ktor.routing.Route / import

import

fun Route.import(applicationConfig: ApplicationConfig, documentDAO: DocumentDAO): Unit

Endpoints for other services (or users with the producer role, for cases where documents would be inserted via a tool like curl or Postman) to import documents either as json objects or json arrays.