Skip to content

Wi-Fi AP HTTP & Upload Server API ​

ReAI Recording Card SDK Documentation › Wi-Fi HTTP & Server Contract
SDK v0.0.9 (MIT)HTTP/1.1Wi-Fi >= 0.1.0

SoftAP Endpoints (http://192.168.4.1:80) ​

Method & PathQuery / BodyResponse
GET /api/device/infoNoneversion, versionCode, chipModel, freeHeap, sdCard
GET /api/files?page=1&pageSize=50Paginated .apm entries with session, seq, startAt, synced
GET /api/files/download?path=<no-leading-slash>Raw .apm stream + Content-Disposition
DELETE /api/files/delete?path=<no-leading-slash>{"ok":true}
GET /api/ota/checkNonecurrentVersion, currentVersionCode, otaReady
POST /api/ota/uploadmultipart/form-data firmware + x-firmware-size + x-firmware-sha256{"success":true,"sha256":"...","restart":true}

Custom Upload Receiver Contract ​

  • GET /health & GET /*/health -> 200 {"ok":true}
  • POST /d/<device-token>/<filename> or POST /api/upload/<filename> (raw body or multipart; respond immediately to Expect: 100-continue; honor x-filesize; reject 0-byte bodies; return {"ok":true,"name":"...","size":N,"sha256":"..."}).
Python 3 stdlibPython 3 Minimal Upload Receiver

Zero-dependency reference server for direct ESP32 STA uploads and desktop pipeline testing.

upload-receiver-server.py

ReAI Recording Card Developer Documentation · MIT Open Hardware SDK · Partner Assets