Skip to content

Rename market symbol filter to market_id - #1

Merged
arjunjain merged 1 commit into
mainfrom
market/update
Aug 13, 2026
Merged

Rename market symbol filter to market_id#1
arjunjain merged 1 commit into
mainfrom
market/update

Conversation

@arjunjain

Copy link
Copy Markdown
Collaborator

Syncs this client with the python-client market update (PRs #24–#26).

Request filter

The /market and /market/count endpoints now take market_id instead of symbol. The old filter was removed upstream (62c4f80 removed symbol filter from market endpoints), so no back-compat alias is kept — this is a breaking change for anyone passing symbol.

Verification

Full test suite passes. Note the published openapi.json is stale: it still documents symbol and has no market_id, so it could not be used to verify this change.

Response fields

The API returns bothsymbol and market_id on market articles, as string arrays. Neither was modelled on the typed Article before; both are now. Article is only ever JSON-decoded (no direct constructor calls anywhere), so this is source-compatible.

Sync with python-client: the /market and /market/count endpoints now
take market_id instead of symbol. The old filter was removed upstream,
so no alias is kept.
Also add symbol and marketId to the Article record. The API returns both
fields as string arrays; neither was modelled before. Article is only
ever JSON-decoded, so appending record components is source-compatible.
@arjunjain
arjunjain merged commit 3c49b34 into mainAug 13, 2026
2 checks passed
@arjunjain
arjunjain deleted the market/update branch August 13, 2026 06:53
Sign up for freeto 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.

1 participant

@arjunjain