change api to do IdMessage

This commit is contained in:
2024-11-27 16:13:43 -08:00
parent f87c4dab8f
commit f7aff4bbaa
10 changed files with 96 additions and 12 deletions

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