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

Add API request & response structures for beatmap submission #31804

Merged
merged 6 commits into from
Feb 7, 2025

Conversation

bdach
Copy link
Collaborator

@bdach bdach commented Feb 5, 2025

This is split out of the main pull due to a significant change to IAPIProvider, in which rather than add a third string property next to APIEndpointUrl and WebsiteRootUrl specifically for submission, I decided to have IAPIProvider expose the full EndpointConfiguration and rerouted the usage sites of the removed two properties to go through it, which added extra size and warranted a detour.

Note that the development endpoint configuration does not yet specify an URL for a staging copy of the service. One exists, but is not currently ready to use (needs a few tweaks to make work).

@bdach bdach requested a review from peppy February 5, 2025 13:00
@bdach bdach self-assigned this Feb 5, 2025
@pull-request-size pull-request-size bot added size/L and removed size/XL labels Feb 6, 2025
// ReSharper disable once CollectionNeverUpdated.Global
public Dictionary<string, byte[]> FilesChanged { get; } = new Dictionary<string, byte[]>();

// ReSharper disable once CollectionNeverUpdated.Global
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do wonder if we'll remember to remove these

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They're going away in the next PR in series, no worries.

@peppy peppy merged commit cf4b501 into ppy:master Feb 7, 2025
7 of 9 checks passed
@bdach bdach deleted the bss/api-setup branch February 7, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants