Repository navigation
Remove the v1/trades endpoint - #5109
Merged
Merged
Conversation
|
Reminder: Please consider backward compatibility when modifying the API specification.
Caused by: |
`GET /api/v1/trades` is unpaginated and returns every fill for the filter, which can saturate the database. `/api/v2/trades` is the paginated replacement. Point the e2e helpers and the playground test script at v2 and drop v1 from the OpenAPI spec.
Contributor
|
Claude finished @jmg-duarte's task in 52s —— View job PR Review: Remove the v1 trades endpoint
Verdict: LGTM ✅ — clean, well-scoped removal. No changes requested. I verified:
One thing I considered (not blocking): v2 differs from v1 in that it is paginated with a default |
jmg-duarte
force-pushed
the
jmgd/remove-v1-trades
branch
from
October 16, 2026 08:41
2e6da94 to
8b1a7c6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Following the reflow from v1/trades traffic to v2/trades in https://github.com/cowprotocol/infrastructure/pull/6821, this PR fully removes v1/trades, the v1/trades reflow should also be removed following this.
Changes
How to test
N/A