Module Report (v1)#

REST Requests:#

Websockets:#

Websocket endpoint: GET /api/v1/report/notifications

Websocket Events:

Module Report REST API (v1)#

GET /api/v1/report/reports#

get report list

Status Codes:

Example:

Get the report list

GET /api/v1/report/reports
[
  {
    "name": "report_004.tar.gz",
    "date": "19700103T182145+0100",
    "url": "/data/report/report_004.tar.gz"
  },
  {
    "name": "report_005.tar.gz",
    "date": "19700103T182145+0100",
    "url": "/data/report/report_005.tar.gz"
  }
]
DELETE /api/v1/report/reports/(name)#

delete a report (both regular and anonymous)

Parameters:
  • name (string) – the name of the report

Status Codes:
GET (url)#

download a report (regular or anonymous)

Parameters:
  • url (string) – the relative url of the report (as returned in the report list)

Query Parameters:
  • anonymous – select which version of the report (regular or anonymous) to download

Status Codes:

Module Report Websocket events (v1)#

Endpoint:

GET /api/v1/report/notifications#
Request Headers:

Events:

Module Report JSON Schema (v1)#

report_created#

type

object

properties

  • name

string

  • data

report_created_event_data

report_removed#

type

object

properties

  • name

string

  • data

report_removed_event_data

anonymous#

type

string

oneOf

the anonymous version of the report

const

yes

the regular version of the report

const

no

report#

type

object

properties

  • name

string

  • date

string

  • url

string

report_created_event_data#

type

object

properties

  • report

report

report_removed_event_data#

type

object

properties

  • report

report