Skip to content

Replace /data/user/activity with /user/contributions - #1291

Merged
jake-low merged 1 commit into
mainfrom
replace-user-activity-endpoint
Oct 10, 2026
Merged

jake-low merged 1 commit into
mainfrom
replace-user-activity-endpoint

Conversation

@CollinBeczak

Copy link
Copy Markdown
Contributor

/data/user/activity returned recent actions for any OSM user ids, or for every user with osmUserIds=-1. Its feeds of other users' activity are being removed along with GraphQL to reduce the user data the app exposes, so remove the endpoint.

The remaining callers only show the logged-in user's own activity: the dashboard contributions timeline and recent challenge in the old frontend, and the dashboard Contributions section in v4. Serve them from GET /user/contributions, which requires authentication and only returns the caller's own recent task actions.

The response is documented inline so the generated client type has created as an ISO 8601 string, which is what the API returns.

/data/user/activity returned recent actions for any OSM user ids, or for
every user with osmUserIds=-1. Its feeds of other users' activity are
being removed along with GraphQL to reduce the user data the app
exposes, so remove the endpoint.

The remaining callers only show the logged-in user's own activity: the
dashboard contributions timeline and recent challenge in the old
frontend, and the dashboard Contributions section in v4. Serve them from
GET /user/contributions, which requires authentication and only returns
the caller's own recent task actions.

The response is documented inline so the generated client type has
created as an ISO 8601 string, which is what the API returns.
@sonarqubecloud

Copy link
Copy Markdown

@CollinBeczak
CollinBeczak marked this pull request as ready for review October 10, 2026 01:53
@CollinBeczak

Copy link
Copy Markdown
Contributor Author

This was needed for the contributions section and the dashboard header.

@CollinBeczak
CollinBeczak requested a review from jake-low October 10, 2026 02:01
@jake-low
jake-low merged commit 4d561b0 into main Oct 10, 2026
7 of 9 checks passed
@jake-low
jake-low deleted the replace-user-activity-endpoint branch October 10, 2026 19:48
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.

2 participants