Skip to content

Merge report

Endpoint: {{apiRoute}}/reports/:reportId/merge

What it does: This endpoint is used to join several reports into one (the id passed in the url)

Parameters:

  • reportId: the id of the report to merge

Body:

  • slaveReports: An array of report ids to merge
  • deleteSlaves: True by default. If is set to false slave reports will not be deleted after the merge

Example:

{
  "slaveReports": [
    "5f8d9c0a2b3c130001f7b8c3",
    "5f8d9c0a2b3c130001f7b8c4"
  ],
  "deleteSlaves": true
}