Skip to content

Always include threads in the per-commitfest patches endpoint - #131

Open
kjrocker wants to merge 1 commit into
postgres:mainfrom
kjrocker:api-patches-always-threads
Open

kjrocker wants to merge 1 commit into
postgres:mainfrom
kjrocker:api-patches-always-threads

Conversation

@kjrocker

Copy link
Copy Markdown
Contributor

My previous PR (#115) added optional threads on each //patches endpoint,
behind a query parameter. (?include=threads).

In hindsight, adding parameters is a slippery slope, and since it's a single
additional query I'd rather just add the threads to each patch always.

GET /api/v1/commitfests/<cfid>/patches now returns each patch's threads
unconditionally, so the ?include=threads parameter is removed. Unknown
query parameters are ignored, so existing callers passing it keep working.
@kjrocker
kjrocker force-pushed the api-patches-always-threads branch from d09cc29 to 8f5876f Compare October 27, 2026 16:05

This branch has not been deployed

No deployments
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.

1 participant