forum phone
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.
forum phone


 
الرئيسيةالرئيسية  أحدث الصورأحدث الصور  التسجيلالتسجيل  دخول  

Mfc Camshow Recording - Intruderrorry

| Endpoint | Method | Body / Params | Response | |----------|--------|---------------|----------| | /api/v1/cameras | GET | – | JSON list of cameras with IDs, status, and current FPS. | | /api/v1/record/start | POST | "cameraId": "c001", "durationSec": 3600 | 200 OK + "status":"recording","file":"c001_20260409_1800.mp4" | | /api/v1/record/stop | POST | "cameraId": "c001" | 200 OK | | /api/v1/motion/threshold | PUT | "cameraId": "c001", "threshold": 0.38 | 204 No Content | | /api/v1/snapshot | GET | cameraId=c001 | JPEG image binary. | | /api/v1/logs | GET | cameraId=c001&since=2026-04-01T00:00:00Z | JSON array of motion events. |

$cameras = Invoke-RestMethod -Uri http://127.0.0.1:8088/api/v1/cameras -Headers $headers foreach ($cam in $cameras) ConvertTo-Json Invoke-RestMethod -Uri http://127.0.0.1:8088/api/v1/record/start ` -Method POST -Headers $headers -Body $body -ContentType 'application/json' IntruderRorry MFC camshow recording

$token = Get-Content "C:\ProgramData\IntruderRorry\CamShow\api_token.txt" $headers = @ Authorization = "Bearer $token" | Endpoint | Method | Body / Params

– Turn on API Token in settings. The token is a UUID stored securely; include it in the Authorization: Bearer <token> header. | $cameras = Invoke-RestMethod -Uri http://127