RCSZilla Version 1.0

Befehle bestätigen

Integrationsleitfaden für mobile App

Befehle bestätigen

POST /?endpoint=ack_commands

Löscht verarbeitete Befehle aus der Server-Warteschlange.

*
When using poll, pass command IDs in the ack_ids field instead of making a separate ack_commands request �this saves a round trip.

Anfragekörper

FeldTypBeschreibung
idsinteger[] erforderlich Array von Befehls-IDs, die verarbeitet wurden.

Beispielanfrage

cURL
curl -X POST "https://api.rcszilla.com/?endpoint=ack_commands" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR-DEVICE-TOKEN" \
  -d '{"ids": [88, 89, 90]}'

Antwort

JSON200 OK
{"success": true, "message": "Commands acknowledged"}