Skip to main content

Complete queue commands

Marking all commands as completed for a given server allows us to execute the commands once per given server.

Please note

Authorization Bearer token is the token for your server. You can find that in Integrations > Servers

Example request:

curl "https://api.gamecms.org/v2/commands/queue/" \
-H 'Accept: application/json' \
-H 'Authorization: Bearer your-token' \
-X GET

Example response - 200

{
"status": 200,
"message": "All data for the provided key was marked as complete."
}

Completing Specific Command IDs

If you want to complete only specific command IDs, you can send a POST request to the same URL with a x-www-form-urlencoded body that contains an ids parameter in JSON format with the IDs.

Example request:

curl "https://api.gamecms.org/v2/commands/queue/" \
-H 'Accept: application/json' \
-H 'Authorization: Bearer your-token' \
-X POST \
-d 'ids=["1", "2", "3"]'