Skip to content

Conversation

@M1ngXU
Copy link

@M1ngXU M1ngXU commented Jul 9, 2025

Pull request

Description

User Status also accepts the includeSources parameter, which will then return a Submission object with an additional sourceBase64 field. This contains the Base64-encoded Submission. Note that this only works for your OWN account.

The documentation about failed requests might need to be changed, but I'm not sure about that.

Motivation and Context

Why is this change required? What problem does it solve?

I need to fetch the code I submitted :D

How Has This Been Tested

Ran the function with and without includeSources.

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

Go over all the following points, and put an x in all the boxes that apply.

If you're unsure about any of these, don't hesitate to ask. We're here to help!

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.

@M1ngXU
Copy link
Author

M1ngXU commented Jul 9, 2025

Hmmm looks like Codeforces is down right now 😢

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