Skip to content

This fixes #230

Following the JSON-API convention, each event has its own meta object which the number of pages

  {
    "_id": "608aacd61211b8123b446d77",
    "tag": [],
    "file": [],
    "investigationId": 220449480,
    "datasetId": null,
    "datasetName": null,
    "title": "",
    "type": "annotation",
    "category": "comment",
    "filename": null,
    "fileSize": null,
    "username": "Alejandro DE MARIA",
    "software": null,
    "machine": null,
    "creationDate": "2021-04-29T12:55:49.000Z",
    "content": [
      {
        "_id": "608aacd61211b8123b446d78",
        "format": "plainText",
        "text": "event5"
      },
      {
        "_id": "608aacd61211b8123b446d79",
        "format": "html",
        "text": "<p>event5</p>"
      }
    ],
    "previousVersionEvent": null,
    "createdAt": "2021-04-29T12:55:50.012Z",
    "updatedAt": "2021-04-29T12:55:50.012Z",
    "__v": 0,
    "meta": {
      "page": {
        "total": 5,
        "totalPages": 2,
        "currentPage": 1
      }
    }
  }
Edited by Alejandro De Maria Antolinos

Merge request reports

Loading