v50

latestOpenAPI 3.1.0raw.githubusercontent.com2025-06-09181183330.0 KB
functions

Execute a function's source code for testing

Execute a function's source code for testing.

post/groups/{groupId}/apps/{appId}/debug/execute_function_source

Query parameters

user_idstring required

The user as which to execute the function. Either user_id or run_as_system is required. You cannot specify both.

run_as_systemboolean required

Determine whether or not to run as system user. Either run_as_system or user_id is required. You cannot specify both.

Request body

eval_sourcestring

This JSON expression must evaluate to true before the function may run. If this field is blank, it will evaluate to true.

sourcestring required

Response

Successfully executed.

errorobject
{"stackTrail":"paths:/groups/{groupId}/apps/{appId}/debug/execute_function_source:post:responses:200:content:application/json:schema:properties:logs","oasType":"schema","type":"unknown"}
resultobject