-
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove user_id from API requests in Dashboards and Filters (#918)
Fetch session key from HttpRequest then fetch username from the session updated all APIs, removed user_id from API requests while saving the json, generate hash for user_id Dashboard API changes: GET /dashboards/{user_id} -> GET /dashboards this fetches all dashboards for user fetched from HttpRequest GET /dashboards/dashboard/{dashboard_id} -> GET /dashboards/{dashboard_id} DELETE /dashboards/dashboard/{dashboard_id} -> DELETE /dashboards/{dashboard_id} PUT /dashboards/dashboard/{dashboard_id} -> PUT /dashboards/{dashboard_id} Filter API changes: GET /filters/{user_id} -> GET /filters this fetches all filters for user fetched from HttpRequest GET /filters/filter/{filter_id} -> GET /filters/{filter_id} DELETE /filters/filter/{filter_id} -> DELETE /filters/{filter_id} PUT /filters/filter/{filter_id} -> PUT /filters/{filter_id}
- Loading branch information
1 parent
4154fc2
commit 75cda6b
Showing
8 changed files
with
240 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.