跳转到主要内容
POST
Post Function Result For Player Triggered Action

授权

X-EntityToken
string
header
必填

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

请求体

application/json
FunctionResult
object
必填

The result of the function execution.

示例:
PlayerProfile
object
必填

The player profile the function was invoked with.

示例:
CustomTags
object

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

PlayStreamEventEnvelope
object

The triggering PlayStream event, if any, that caused the function to be invoked.

响应

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日