Feature #7578
closedCreate API for reports/dashboard
100%
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
Updated by Rajmund Hruška over 2 years ago
- Related to Feature #4366: Implement API access to event database added
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.
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.
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.
Updated by Pavel Kácha over 2 years ago
- Target version changed from 2.10 to 2.9.1