Global Commands

Get global commands

get

Retrieves all global commands for the specified store.

Authorizations
AuthorizationstringRequired

An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.

Path parameters
storeIdstring · flake-idRequired

The ID of the store to retrieve this data for.

Example: 411486491630370816
Responses
200

OK

application/json
get
/v1/stores/{storeId}/global-commands

Create global command

post

Creates a global command for a store.

Authorizations
AuthorizationstringRequired

An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.

Path parameters
storeIdstring · flake-idRequired

The ID of the store to create this data for.

Example: 411486491630370816
Body

Data transfer object used for creating new global commands or updating existing ones. Supports partial updates following PATCH semantics.

stagestring · enumRequired

Defines the stages at which product commands can be executed.

Possible values:
contentstringRequired

The command content to be executed.

online_onlybooleanRequired

Indicates whether the command should only be executed when the player is online.

override_execute_on_gameserver_idsnull | arrayOptional

List of specific game server IDs where this command should be executed.

Example: 411486491630370816
Responses
200

OK

application/json
post
/v1/stores/{storeId}/global-commands

Delete global command

delete

Deletes a global command for a store.

Authorizations
AuthorizationstringRequired

An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.

Path parameters
storeIdstring · flake-idRequired

The ID of the store to delete this data for.

Example: 411486491630370816
globalCommandIdstring · flake-idRequired

The ID of the command to delete.

Example: 411486491630370816
Responses
delete
/v1/stores/{storeId}/global-commands/{globalCommandId}

No content

Update global command

patch

Updates a global command for a store.

Authorizations
AuthorizationstringRequired

An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.

Path parameters
storeIdstring · flake-idRequired

The ID of the store to update this data for.

Example: 411486491630370816
globalCommandIdstring · flake-idRequiredExample: 411486491630370816
Body

Data transfer object used for creating new global commands or updating existing ones. Supports partial updates following PATCH semantics.

stagestring · enumRequired

Defines the stages at which product commands can be executed.

Possible values:
contentstringRequired

The command content to be executed.

online_onlybooleanRequired

Indicates whether the command should only be executed when the player is online.

override_execute_on_gameserver_idsnull | arrayOptional

List of specific game server IDs where this command should be executed.

Example: 411486491630370816
Responses
200

OK

application/json
patch
/v1/stores/{storeId}/global-commands/{globalCommandId}

Last updated

Was this helpful?