Befehle bestätigen
Integrationsleitfaden für mobile App
Befehle bestätigen
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
| Feld | Typ | Beschreibung | |
|---|---|---|---|
| ids | integer[] | 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"}