InvokeFunctionInput
Invoke a studio-defined function against a self container.
input InvokeFunctionInput {
appId: BigInt!
functionName: String!
selfContainerId: String!
sessionId: String
paramsJson: String
bypassPolicy: Boolean
}
Fields
InvokeFunctionInput.appId ● BigInt! non-null scalar
The app (tenant) that owns the function.
InvokeFunctionInput.functionName ● String! non-null scalar
The function name to invoke.
InvokeFunctionInput.selfContainerId ● String! non-null scalar
The 'self' container the function runs against (referenced as self in expressions).
InvokeFunctionInput.sessionId ● String scalar
Optional session context for the invocation.
InvokeFunctionInput.paramsJson ● String scalar
JSON object of params.
InvokeFunctionInput.bypassPolicy ● Boolean scalar
Administrative override: skip the function's invoke policy for this one call. Only a caller holding manage_apps on the app may set it (NOT_ALLOWED otherwise, nothing runs); the result then carries policyBypassed=true and the call is audit-logged. Default false. Until v1.89.0 every manage_apps holder bypassed every invoke policy IMPLICITLY, so a developer testing their own game with their own account saw policies that appeared not to be enforced; now an admin's invoke is judged exactly like a player's unless they say otherwise.
Member Of
gameModelInvoke mutation