api: SubmissionCreate in request body

This commit is contained in:
2024-11-27 15:38:17 -08:00
parent f7aff4bbaa
commit acece12737
11 changed files with 549 additions and 19 deletions

@ -13,7 +13,7 @@ type Handler interface {
// Create new submission.
//
// POST /submissions
CreateSubmission(ctx context.Context) (*ID, error)
CreateSubmission(ctx context.Context, req OptSubmissionCreate) (*ID, error)
// GetSubmission implements getSubmission operation.
//
// Retrieve map with ID.