Skip to content

SMP - Submission download does not work #9

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

Closed
birdofpreyru opened this issue Apr 10, 2017 · 5 comments
Closed

SMP - Submission download does not work #9

birdofpreyru opened this issue Apr 10, 2017 · 5 comments

Comments

@birdofpreyru
Copy link
Collaborator

A comment to winning submission tells

there's an endpoint in v2 (/v2/{type}/download/{submId}?submissionType=original) that states it lets you download a specific submission, doesn't seem to work

Probably it works, but submitter made some auth-related mistake?

@birdofpreyru
Copy link
Collaborator Author

@ajefts What do you think about it? Should be working in API v2, if called correctly, right?

@ajefts
Copy link
Member

ajefts commented Apr 10, 2017

I think that's an untested endpoint in v2. Ideally, we need to get that built in v3.

In the short, short term we may need to use the legacy download controller...

https://studio.topcoder.com/?module=DownloadSubmission&sbmid=236660

@birdofpreyru
Copy link
Collaborator Author

@ajefts FYI: I've double-checked it. Submission downloading with API v2 seems to be non-functional, indeed. The following error message is reported:

description: "The request was invalid. An accompanying message will explain why."
details: "connection should be object"
name: "Bad Request"
value: 400

I'll fallback for the legacy download controller for now.

@ajefts
Copy link
Member

ajefts commented Apr 12, 2017 via email

@birdofpreyru
Copy link
Collaborator Author

UPDATE: In the commit 9606802 submission download is fixed with use of legacy (Studio) API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants