メインコンテンツへスキップ
POST
Execute Function

承認

X-EntityToken
string
header
必須

This API requires an Entity Session Token, available from the Entity GetEntityToken method.

ボディ

application/json

Executes an Azure Function with the profile of the entity that is defined in the request.

Executes an Azure Function with the profile of the entity that is defined in the request.

FunctionName
string
必須

The name of the CloudScript function to execute

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

Entity
object

The optional entity to perform this action on. Defaults to the currently logged in entity.

FunctionParameter
object

Object that is passed in to the function as the FunctionArgument field of the FunctionExecutionContext data structure

GeneratePlayStreamEvent
boolean

Generate a 'entity_executed_cloudscript_function' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager.

レスポンス

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
例:
最終更新日 2026年10月6日