GamebeastDocs
Dashboard
Server APIMarkers

Update marker metadata

PUT
/application/{applicationId}/analytics/v1/markers/metadata

Sets descriptions and visibility for marker types and their arguments, in one atomic batch. Names do not need to have been sent yet, so events can be described before the game ships them. Omitted fields keep their current value; pass a null or empty description to clear it.

Authorization

AuthorizationBearer <token>

Secret server key (prefixed gb_sk_) for server-to-server calls. Send it as Authorization: Bearer <key>. Never ship a secret key in a game client.

In: header

Path Parameters

applicationId*number

Gamebeast project ID

Header Parameters

environment_id*number

Gamebeast environment ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/application/0/analytics/v1/markers/metadata" \  -H "environment_id: 0" \  -H "Content-Type: application/json" \  -d '{}'
{  "types": [    {      "markerType": "string",      "hidden": true,      "description": "string"    }  ],  "arguments": [    {      "markerType": "string",      "hidden": true,      "description": "string",      "argumentName": "string"    }  ]}