We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We should validate the project ID.
This http://challenges.topcoder-dev.com/projects/112233/challenges/543841b4-bbbb-4b02-bba7-c141855c5d72/edit throws an error because the project ID does not exist.
We should use the project API to verify that the project exists before we create the challenge.
Call the GET https://api.topcoder-dev.com/v4/projects/:projectId endpoint and if that endpoint returns 404, throw a 400 Bad Request error.
GET https://api.topcoder-dev.com/v4/projects/:projectId
400 Bad Request
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We should validate the project ID.
This http://challenges.topcoder-dev.com/projects/112233/challenges/543841b4-bbbb-4b02-bba7-c141855c5d72/edit throws an error because the project ID does not exist.
We should use the project API to verify that the project exists before we create the challenge.
Call the
GET https://api.topcoder-dev.com/v4/projects/:projectId
endpoint and if that endpoint returns 404, throw a400 Bad Request
error.The text was updated successfully, but these errors were encountered: