Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

API.Routes.DatList

Mestre-Tramador edited this page Aug 29, 2022 · 1 revision

List Dat(s) GET

/dat

Lists all stored .dat files.

Response

200

[
  {
    "id": 5,
    "name": "5.dat",
    "first_read": "2022-08-28 15:41:25",
    "last_read": "2022-08-28 15:41:25",
    "user": {
      "id": 1,
      "name": "Exper Admin"
    }
  },
  {
    "id": 6,
    "name": "6.dat",
    "first_read": "2022-08-16 12:17:36",
    "last_read": "2022-08-27 21:30:09",
    "user": {
      "id": 1,
      "name": "Exper Admin"
    }
  }
]

The listed files are not read, thus it does not affect the last_read value. Also note that each item corresponds to a different file.

Clone this wiki locally