Added /api/submissions/:submissionId endpoint.