Skip to content
Belikhun edited this page Jun 2, 2019 · 5 revisions

/test/logs - Lấy danh sách nhật ký

HTTP/1.1 GET /api/test/logs

  • Permission: everyone
  • Require Logged In: true

Success 200:

Field Type Description
queues array Danh sách bài trong hàng chờ
judging array Danh sách bài đang chấm
logs array Danh sách đã chấm xong

Example:

{
  "code": 0,
  "status": 200,
  "description": "Thành công!",
  "user": "belivipro9x99",
  "data": {
    "queues": [],
    "judging": [],
    "logs": [
      {
        "status": "passed",
        "problem": "aromatic",
        "extension": "pas",
        "point": 200,
        "lastmodify": "12\/05\/2019 12:24:56",
        "lastmtime": 1557638696,
        "logFile": "admin[belivipro9x99][aromatic].pas"
      },
      {
        "status": "correct",
        "problem": "bai1",
        "extension": "pas",
        "point": 50,
        "lastmodify": "12\/05\/2019 12:31:28",
        "lastmtime": 1557639088,
        "logFile": "admin[belivipro9x99][bai1].pas"
      },
      {
        "status": "correct",
        "problem": "bai2",
        "extension": "pas",
        "point": 50,
        "lastmodify": "12\/05\/2019 12:25:40",
        "lastmtime": 1557638740,
        "logFile": "admin[belivipro9x99][bai2].pas"
      },
      {
        "status": "correct",
        "problem": "bai3",
        "extension": "pas",
        "point": 50,
        "lastmodify": "12\/05\/2019 12:26:02",
        "lastmtime": 1557638762,
        "logFile": "admin[belivipro9x99][bai3].pas"
      },
      {
        "status": "correct",
        "problem": "bai4",
        "extension": "pas",
        "point": 50,
        "lastmodify": "12\/05\/2019 12:26:24",
        "lastmtime": 1557638784,
        "logFile": "admin[belivipro9x99][bai4].pas"
      },
      {
        "status": "passed",
        "problem": "bridge",
        "extension": "pas",
        "point": 200,
        "lastmodify": "12\/05\/2019 12:26:46",
        "lastmtime": 1557638806,
        "logFile": "admin[belivipro9x99][bridge].pas"
      },
      {
        "status": "passed",
        "problem": "sum",
        "extension": "pas",
        "point": 200,
        "lastmodify": "12\/05\/2019 12:27:07",
        "lastmtime": 1557638827,
        "logFile": "admin[belivipro9x99][sum].pas"
      }
    ]
  },
  "runtime": 0.01955103874206543
}