Execute command
Motivation
Execute a command using API
Functional Design
POST /api/v2/apps/{owner}/{app}/workspaces/{wsid}/commands/{pkg}.{command}
Headers
Key
Value
Authorization
Bearer {PrincipalToken}
Content-Type
application/json
Parameters
Parameter
Type
Description
owner
string
name of a user who owns the application
app
string
name of an application
wsid
int64
the ID of workspace
pkg, command
string
identifies a command
Body
Command arguments in JSON format, with optional "args" and "unloggedArgs" fields:
Result
Code
Description
Body
200
OK
current WLog offset, see example below
400
Bad Request, e.g. Record requires sys.ParentID
401
Unauthorized
Example result 200:
Last updated
Was this helpful?