EnderDashEnderDash

Record Server Rpc Activity

Record Server Rpc Activity. This POST operation is exposed from the activity router on EnderDash's tRPC HTTP API surface. Authentication is required with either a signed-in session cookie or a user API key.

POST
/activity.recordServerRpcActivity

Record Server Rpc Activity. This POST operation is exposed from the activity router on EnderDash's tRPC HTTP API surface. Authentication is required with either a signed-in session cookie or a user API key.

Authorization

better-auth.session_token<token>

Signed-in EnderDash browser session cookie.

In: cookie

Request Body

application/json

Serialized tRPC procedure input for this mutation. Responses use the standard tRPC HTTP result envelope.

TypeScript Definitions

Use the request body type in TypeScript.

organizationId*string
serverId*string
rpcMethod*string
outcome*string
params?unknown
error?string

Response Body

application/json

application/json

curl -X POST "https://example.com/activity.recordServerRpcActivity" \  -H "Content-Type: application/json" \  -d '{    "organizationId": "string",    "serverId": "string",    "rpcMethod": "string",    "outcome": "succeeded"  }'
{  "result": {    "data": {      "recorded": true,      "reason": null    }  }}