feat: add DELETE endpoints for observations (GDPR compliance) #119
No reviewers
Labels
No labels
good first issue
has-pr
help wanted
idea
priority
critical
priority
high
priority
low
priority
medium
status
blocked
status
in-progress
status
needs-review
status
ready
type
bug
type
docs
type
enhancement
type
feature
type
refactor
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
customable/claude-mem!119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/4-observation-delete-endpoint"
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
Adds ability to delete observations for privacy/GDPR compliance:
Backend Endpoints:
DELETE /api/data/observations/:id- Delete single observationDELETE /api/data/observations- Bulk delete with filtersBulk Delete Filters:
project- Delete all observations for a projectsessionId- Delete all observations for a sessionbefore- Delete observations before date (ISO format)ids- Delete specific observations by ID (comma-separated)UI API Client:
api.deleteObservation(id)- Delete single observationapi.bulkDeleteObservations(params)- Bulk delete with filtersUse Cases
Test Plan
Remaining Work (for full #4 completion)
claude-mem forget --topic ...)Partial implementation of #4
🤖 Generated with Claude Code
713cb24f335f6f6330b05f6f6330b0759d43490eBuild fix applied
The build error was caused by incorrect property name in
DateRangeFilter:{ before: beforeDate.getTime() }to{ end: beforeDate.getTime() }(line 278)ObservationQueryFilterstype import instead of inline typeThe
DateRangeFilterinterface usesstartandend, notbefore.759d43490e19df47e94019df47e940afb93270c1