Skip to content

nikita715/moss-api

Repository files navigation

Docker Cloud Build Status

moss-api

A service for parsing of Moss plagiarism analysis results.

You can launch it in Docker from the image and send there ids of moss analysis results to extract the analysis data in json format.

Data can be formatted in two types:

  • Simple type with pairs of files and their similarity (and matched lines if required);
  • Graph type that can be used to build a graph of similarity. Fully compatible with data2graph.

The service is launched at localhost:4567 in docker container.

API

  • localhost:4567/parse/{moss_result_id}
  • localhost:4567/parse?url={moss_result_url}
  • localhost:4567/parse-graph/{moss_result_id}
  • localhost:4567/parse-graph?url={moss_result_url}

You can use /parse with url parameter mode=full to extract matched lines of analysed files.