Project

General

Profile

Actions

Feature #7578

closed

Create API for reports/dashboard

Added by Rajmund Hruška over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Category:
Development - GUI
Target version:
Start date:
04/06/2022
Due date:
% Done:

100%

Estimated time:
To be discussed:

Description

It would be nice to have the API for the reports. Some endpoints were created in #4366 so it might be helpful to look at that.


Related issues

Related to Mentat - Feature #4366: Implement API access to event databaseClosedJan Mach10/12/2018

Actions
Actions #1

Updated by Rajmund Hruška over 2 years ago

  • Related to Feature #4366: Implement API access to event database added
Actions #2

Updated by Rajmund Hruška over 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Resolved in 8b7b6d9c.

Actions #3

Updated by Rajmund Hruška over 2 years ago

  • Status changed from Resolved to In Review
  • To be discussed changed from No to Yes

Merged into devel.

The endpoint can be accessed at https://mentat-alt.cesnet.cz/mentat/api/reports/dashboard?submit=Search.

It works just fine in the web browser but I can't manage to make it work with curl and my generated API key. In fact, even the older endpoints are not working with curl such as https://mentat-alt.cesnet.cz/mentat/api/events/metadata?submit=Search. On the other hand, on mentat-hub the existing endpoints are working fine.

Actions #4

Updated by Rajmund Hruška over 2 years ago

  • To be discussed deleted (Yes)

So the reason why I couldn't access mentat-alt API with curl is because mentat-alt is hidden behind shibboleth. I updated the apache2 configuration to allow my IP address and I also fixed some bugs in the code. Now it seems to be working with curl even on mentat-alt.

Actions #5

Updated by Pavel Kácha over 2 years ago

  • Target version changed from 2.10 to 2.9.1
Actions #6

Updated by Pavel Kácha over 2 years ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF