v1

latestOpenAPI 3.0.0Apache 2.02026-08-0610023171.4 KB
Extension Reports

Update extension report

Replace all fields on an existing Integrito report-data record. created_at is preserved; updated_at is set to the current server time. Returns 400 if item_id is already used by a different record owned by the authenticated user. Returns 403 if the record or the new text_id exists but belongs to another user. Returns 404 if the record or the new text_id does not exist.

put/api/v1/extension/reports/{id}/

Response

A single Integrito report-data record.

successboolean

Example response

{
  "success": true,
  "data": {
    "report": {
      "id": "12",
      "text_id": "345",
      "item_id": "john-course1-quiz5-question9",
      "plagiarism": 25.5,
      "ai": 10.25,
      "created_at": "1706199949000"
    }
  }
}