You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add async execution support to the api-ui REST API #1854
Change createQuery handler POST /ui/queries
Add payload param: asyncExec to the , reflect changes in openapi spec.
Keep existing functionality of sync execution when asyncExec=false,
Run query asynchronously when asyncExec=true
Add for future use DELETE /ui/queries handler, aborts running query by query_id
or it can be PATCH /ui/queries, expecting additional payload arg: abort=true/false
Maybe let's use syncExec (default = false) in POST /ui/queries.
• syncExec=true → run query synchronously.
• syncExec=false → run asynchronously (default).
POST /ui/queries/{query_id}/abort to explicitly abort a running or queued query.
A bit clearer than using DELETE or PATCH.
Activity
nikitastryuk commentedon Oct 14, 2025
2 proposals:
Maybe let's use syncExec (default = false) in POST /ui/queries.
• syncExec=true → run query synchronously.
• syncExec=false → run asynchronously (default).
POST /ui/queries/{query_id}/abort to explicitly abort a running or queued query.
A bit clearer than using DELETE or PATCH.
@YaroslavLitvinov WDYT?