You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GET @ /challenges/{id}/submissions/{user_id/submission_id}
GET @ /challenges/{id}/submissions/@me should also be available
Gets a submission for said user by their user id or submission id.
Submission Object should be the same as the one in GET @ /challenges/{id}/submissions
One of the following conditions should be true for this endpoint to be available:
If the user is the author of the submission
If the challenge has ended
If the user has ManageSubmissions permission
POST @ /challenges/{id}/submissions
Creates a new submission for said challenge. Returns 201 Created on success and return id in Location header.
Endpoints
GET @ /challenges/{id}/submissions
Gets a list of submitted solutions for said challenge.
Only available if the challenge has ended (
now() >= released_at + interval '7' days
) or if the user hasManageSubmissions
permission.Submission Object should be something like this:
GET @ /challenges/{id}/submissions/{user_id/submission_id}
Gets a submission for said user by their user id or submission id.
Submission Object should be the same as the one in
GET @ /challenges/{id}/submissions
One of the following conditions should be true for this endpoint to be available:
ManageSubmissions
permissionPOST @ /challenges/{id}/submissions
Creates a new submission for said challenge. Returns
201 Created
on success and return id inLocation
header.Body
DELETE @ /challenges/{challenge_id}/submissions/{id}
Deletes said submission from said challenge. Returns
204 No Content
on success.The text was updated successfully, but these errors were encountered: