Skip to content

Export Reversals#34

Merged
hayesZach merged 10 commits intomasterfrom
feature/export-reversals
Feb 10, 2026
Merged

Export Reversals#34
hayesZach merged 10 commits intomasterfrom
feature/export-reversals

Conversation

@hayesZach
Copy link
Copy Markdown
Collaborator

@hayesZach hayesZach commented Feb 10, 2026

Closes CSF-890
Refs CSF-881
Refs CSF-878
Refs CSF-700


Note

Medium Risk
Adds a new data-export surface and increases max page size, which could impact performance/memory and data exposure if permissions are misconfigured, though it is gated by PermissionExport and covered by tests.

Overview
Adds a new GET /api/v1/reversals/export endpoint (behind PermissionExport) that returns the same filtered/paginated reversal list as GET /, but encoded as CSV with a fixed header set.

The export supports steam_id, marketplace_slug, limit, and cursor query params, raises the export limit ceiling to 50k rows, and surfaces pagination via an X-Next-Cursor response header. Extensive new tests validate CSV encoding (including null fields), filtering, pagination, limit validation, and missing-context error handling.

Written by Cursor Bugbot for commit e6894ec. This will update automatically on new commits. Configure here.

@hayesZach hayesZach self-assigned this Feb 10, 2026
@hayesZach hayesZach added the Enhancement New feature or request label Feb 10, 2026
@hayesZach hayesZach marked this pull request as ready for review February 10, 2026 17:17
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@hayesZach hayesZach requested a review from Step7750 February 10, 2026 19:05
@linear
Copy link
Copy Markdown

linear bot commented Feb 10, 2026

@hayesZach hayesZach merged commit 493cf2e into master Feb 10, 2026
2 checks passed
@hayesZach hayesZach deleted the feature/export-reversals branch February 10, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants