Read from query
Motivation
Read from a query function using API
Functional design
GET /api/v2/apps/{owner}/{app}/workspaces/{wsid}/queries/{pkg}.{query}
Headers
Authorization
Bearer {PrincipalToken}
Parameters
Query
owner
string
name of a user who owns the application
app
string
name of an application
wsid
int64
the ID of workspace
pkg, query
string
identifies a query
Path
Optional query constraints
args
URL-encoded JSON-object
Optional query function arguments
Headers
PrincipalToken
string
Result
200
OK
401
Unauthorized
403
Forbidden
404
Query Function Not Found
Example
Example execution of the sys.Echo
query function with arguments: {"Text": "Hello world"}
:
Response:
Last updated
Was this helpful?