v1

latestOpenAPI 3.0.0Apache 2.02026-08-0610023171.4 KB
Organizations

Get organization text report

Return the plagiarism report for an organization text check by text ID. The text must belong to the group authorized by group_token and must already be checked.

post/api/org/text/report/{id}/

Path parameters

idinteger required

Numeric ID of a text check or AI check, depending on the endpoint.

Response

The request succeeded and returned report metadata and parsed report data.

successboolean

Example response

{
  "success": true,
  "data": {
    "report": {
      "id": 15,
      "created_at": 1513617036000,
      "source_count": 3,
      "text_id": 55,
      "group_id": 100
    },
    "report_data": {
      "version": "1.1",
      "length": 637,
      "matched_length": 182,
      "matched_percent": 28.57,
      "nodes": [
        {
          "enabled": true,
          "end": 19,
          "text": "lorem ipsum dolor",
          "sources": [
            1
          ],
          "sources_improved": [
            1
          ],
          "references": [
            1
          ],
          "headers": [
            1
          ],
          "quotes": [
            1
          ],
          "destinations_clusters": [
            1
          ]
        }
      ],
      "indexes": [
        {
          "type": "external"
        }
      ],
      "references": [
        {
          "length": 35
        }
      ],
      "header": [
        {
          "length": 35
        }
      ],
      "quotes": [
        {
          "length": 35
        }
      ],
      "sources": [
        {
          "dst_pos_success": true,
          "content_type": "text/plain",
          "source": "https://en.wikipedia.org/wiki/Open_source",
          "length": 255,
          "percent": 40.03,
          "plagiarism_length": 182,
          "plagiarism_percent": 28.57
        }
      ],
      "created_at": "2017-05-12 05:10:57",
      "sources_count": 5,
      "external_queries": 12,
      "destinations_clusters": [
        {
          "offsets": [
            {
              "start": 20,
              "end": 34,
              "cos": 1
            }
          ]
        }
      ],
      "ignored_ranges": [
        {
          "id": 123,
          "start": 42,
          "end": 87,
          "filename": "assignment-template.docx",
          "ignore_assignment_template_id": 55
        }
      ]
    }
  }
}