Idempotent Measurement creation #91

Open
opened 2026-11-27 16:43:29 -05:00 by bobby · 0 comments
Owner

Part of #73 (spec: #72)

What to build

On flaky wifi, re-POSTing a Measurement with the same external_id returns 200 and the existing record instead of creating a duplicate.

Acceptance criteria

  • First POST with an external_id returns 201; the repeat returns 200 with the same record
  • external_id is unique per Person: two Persons can use the same value
Part of #73 (spec: #72) ## What to build On flaky wifi, re-POSTing a Measurement with the same `external_id` returns `200` and the existing record instead of creating a duplicate. ## Acceptance criteria - [ ] First POST with an `external_id` returns `201`; the repeat returns `200` with the same record - [ ] `external_id` is unique per Person: two Persons can use the same value
bobby added the ready-for-agent label 2026-11-27 16:43:29 -05:00
bobby added a new dependency 2026-11-27 16:43:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: bobby/hapi#91