-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
This feature allows users to mark some query as available for api call. After user mark query as available for API call - he will receive an curl command with uniq query and with signed JWT token in header. This token will expired at specified (by user) time. Default - 1 month.
Tasks
- Add public address to config. This address should contain a scheme (
http/https
), domain and port. Like thathttps://dbgatewway.example.com
- Add ACL that enables this feature for all users
- Add new handler to serve this queries
- Add params to configure JWT tokens
- Describe api docs. If applicable and possible - use this tool.
Example of ACL
{
"user": "admin@example.com",
"op": "expose-api-endpoint",
"target": "*",
"tbl": "*",
"allow": true
}
Metadata
Metadata
Assignees
Labels
No labels