generated from CubeCraft-Creations/Tracehound
CUB-236: Implement POST /api/v1/cameras camera registration #8
Reference in New Issue
Block a user
Delete Branch "agent/dex/CUB-236-post-camera-register"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Existing
RegisterCamerahandler ininternal/api/cameras.goalready implements POST /cameras with:camera_id+friendly_name(required) — validated as non-emptymac_address(optional) — validated via UNIQUE constraintcamera_idis intentionally required from client (it is the GoPro serial/ID that ESP32 nodes report via MQTT and that the rest of the API references). This commit adds the dependency entries (go.mod/go.sum) needed to build the package.Evidence
go build ./internal/... ./pkg/...— PASSgo vet ./internal/... ./pkg/...— PASSPull request closed