forked from kernelci/kernelci-api
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api.main: add endpoint to get existing subscriptions
Introduce GET `/stats/subscriptions` endpoint to get details of existing subscriptions i.e. subscription ID, channel, owner, connection creation timestamp and last poll timestamp. Only admin users are allowed to access the endpoint. Signed-off-by: Jeny Sadadia <[email protected]>
- Loading branch information
1 parent
7643078
commit 2adeddc
Showing
2 changed files
with
39 additions
and
3 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