Report

A report.

Get all reports

Get all reports of the authenticated user of the authenticated hub.

SecurityJWT
Request
query Parameters
measure
string or integer

Filter the report list for a measure.

measure_package
string or integer

Filter the report list for a measure package.

project
string or integer

Filter the report list for a project.

program
string or integer

Filter the report list for a program.

type
integer

The type of the report.

  • 1 - Overview
  • 2 - Detail
  • 3 - Summary
Enum: 1 2 3
created_user
string or integer

Filter the report list for a created user.

latest
integer [ 1 .. 100 ]

Filter the report list for the latest entries.

The integer value determines the number of elements displayed. The list is sorted in descending order, i.e., the newest element is at the top.

page
integer
Default: 1

The page number of the response.

Responses
200

Successful operation

get/report
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "fff8ed3e7fb56dc9781ff257df7c1f33e9680b67",
  • "data": [
    ],
  • "meta": {
    },
  • "timestamp": 1664966798626
}

Get a report

Get a report.

Returns either the report object or the binary file content, depending on the API server endpoint.

SecurityJWT
Request
path Parameters
report
required
string or integer

The id/hash of the report.

query Parameters
disposition
string
Default: "attachment"

The content-disposition for the requested file.

Only applicable when downloading a file from the Storage API. For attachment the file should be downloaded, forinline the file can be displayed.

Enum: "attachment" "inline"
Responses
200

Successful operation

404

Not Found

422

Unprocessable Content

get/report/{report}
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "fff8ed3e7fb56dc9781ff257df7c1f33e9680b67",
  • "data": {
    },
  • "timestamp": 1664966798626
}

Delete a report

Delete a report.

SecurityJWT
Request
path Parameters
report
required
string or integer

The id/hash of the report.

Responses
200

Successful operation

404

Not Found

delete/report/{report}
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
  • "data": { },
  • "timestamp": 1664967545980
}