Skip to content

Implement CSV export endpoint with streaming support - #937

Open
dumbdevss wants to merge 1 commit into
ritik4ever:mainfrom
dumbdevss:feature/csv-export-endpoint
Open

Implement CSV export endpoint with streaming support#937
dumbdevss wants to merge 1 commit into
ritik4ever:mainfrom
dumbdevss:feature/csv-export-endpoint

Conversation

@dumbdevss

Copy link
Copy Markdown
Contributor
  • Updated GET /api/streams/export.csv to match acceptance criteria
  • Added all required columns: id, sender, recipient, asset, totalAmount, vestedAmount, claimedAmount, status, startAt, durationSeconds, createdAt
  • Implemented all filters from list endpoint: status, sender, recipient, asset, assetCode, q, minAmount, maxAmount, include_archived
  • Added streaming support for large exports using res.write() instead of building entire CSV in memory
  • Proper CSV escaping for Excel/Sheets compatibility (handles commas, quotes, newlines)
  • Updated Swagger documentation with complete parameter list and response schema
  • Updated integration tests to verify new columns and additional filters
  • Removed caching for export endpoint to ensure fresh data on large exports

Generated with Devin

Commit Type

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (formatting, etc.)
  • refactor: A code change that neither fixes a bug nor adds a feature
  • perf: A code change that improves performance
  • test: Adding missing or correcting existing tests
  • build: Changes affecting the build system or external dependencies
  • ci: Changes to CI/CD configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit

Breaking change? (If yes, add BREAKING CHANGE in the commit footer)

  • Yes — this contains a breaking change
  • No

What changed

Testing done

Related issues

Closes #

Checklist

  • I used the correct commit type (see above) for the squashed commit message.
  • I kept the change focused on the related issue.
  • I added or updated tests where useful.
  • I updated documentation where behavior changed.
  • I verified the app still builds or explained why verification was skipped.
  • My commits follow Conventional Commits (enforced by commitlint).

closes #702

- Updated GET /api/streams/export.csv to match acceptance criteria
- Added all required columns: id, sender, recipient, asset, totalAmount, vestedAmount, claimedAmount, status, startAt, durationSeconds, createdAt
- Implemented all filters from list endpoint: status, sender, recipient, asset, assetCode, q, minAmount, maxAmount, include_archived
- Added streaming support for large exports using res.write() instead of building entire CSV in memory
- Proper CSV escaping for Excel/Sheets compatibility (handles commas, quotes, newlines)
- Updated Swagger documentation with complete parameter list and response schema
- Updated integration tests to verify new columns and additional filters
- Removed caching for export endpoint to ensure fresh data on large exports

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

@dumbdevss is attempting to deploy a commit to the ritik4ever's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@dumbdevss Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 653fead2-0cc8-47d3-a45b-abde47645c01


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add GET /api/streams/export.csv endpoint

1 participant