Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update rc_api_start_session to use new API #259

Merged

Conversation

Jamiras
Copy link
Member

@Jamiras Jamiras commented Aug 20, 2023

rc_api_start_session previously just posted the new session entry in the activity table. Two additional server requests were made in parallel to fetch the user's hardcore and softcore unlock information.

RetroAchievements/RAWeb#1538 added a new API that does all three in a single server call. This modifies the rc_api_start_session functions to use the new server API.

Existing clients may now use the unlock information returned by this API to avoid making one or more calls to rc_api_fetch_user_unlocks. The change will automatically be leveraged by the rc_client implementation.

@Jamiras Jamiras added this to the 11.0.0 milestone Aug 20, 2023
@Jamiras Jamiras merged commit 4176a60 into RetroAchievements:develop Aug 26, 2023
6 checks passed
@Jamiras Jamiras deleted the feature/new_start_session_api branch August 26, 2023 22:28
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