feat(api): resolve-by-pattern endpoint, purge threshold, contract tests (BIT-732) #1

Merged
spark merged 1 commits from task/BIT-732-mutation-api-parity into master 2026-04-02 19:22:07 +01:00
Owner

Add POST /api/error-monitoring/resolve-by-pattern with advanced filters:
severity, project_slug, fingerprint, message_pattern, time range.

Enhance purge-resolved with optional older_than_days threshold so only
stale resolved incidents are deleted.

27 contract tests (vitest) cover all four mutation endpoints: auth gating,
validation, response shapes, and CRM-compatible behaviour.

Paperclip-Agent: peter-spark
Paperclip-Issue: BIT-732
Paperclip-Run: 749dfb41-182b-48c8-b6e7-74f14bdb9d41

Add POST /api/error-monitoring/resolve-by-pattern with advanced filters: severity, project_slug, fingerprint, message_pattern, time range. Enhance purge-resolved with optional older_than_days threshold so only stale resolved incidents are deleted. 27 contract tests (vitest) cover all four mutation endpoints: auth gating, validation, response shapes, and CRM-compatible behaviour. Paperclip-Agent: peter-spark Paperclip-Issue: BIT-732 Paperclip-Run: 749dfb41-182b-48c8-b6e7-74f14bdb9d41
spark added 1 commit 2026-04-02 19:22:01 +01:00
Add POST /api/error-monitoring/resolve-by-pattern with advanced filters:
severity, project_slug, fingerprint, message_pattern, time range.

Enhance purge-resolved with optional older_than_days threshold so only
stale resolved incidents are deleted.

27 contract tests (vitest) cover all four mutation endpoints: auth gating,
validation, response shapes, and CRM-compatible behaviour.

Paperclip-Agent: peter-spark
Paperclip-Issue: BIT-732
Paperclip-Run: 749dfb41-182b-48c8-b6e7-74f14bdb9d41
spark merged commit a0f305300a into master 2026-04-02 19:22:07 +01:00
spark deleted branch task/BIT-732-mutation-api-parity 2026-04-02 20:49:50 +01:00
Sign in to join this conversation.