Skip to content
Woolf Help Center home
Woolf Help Center home

πŸ“€ Add Submission

The addSubmission mutation allows a student to submit an assignment or task for an activity. The submission can include textual content and uploaded assets.

Input Parameters

Parameter

Type

Description

submission

SubmissionInput!

Submission details, including student ID, activity ID, and content.

Input Object: SubmissionInput

Field

Type

Description

activityId

ID

ID of the activity the submission is for.

resourceId

ID

ID of the resource linked to this submission.

studentId

ID

ID of the student submitting the assignment.

content

String

Text content of the submission.

assets

[AssetInput!]

List of uploaded attachments related to the submission.

evidenceAssets

[AssetInput!]

List of evidence assets used to support the submission.

Response Fields

Field

Type

Description

activityId

ID!

Unique identifier of the submission activity.

assets

[AssetUpload!]!

List of uploaded assets attached to the submission.

evidenceAssets

[AssetUpload!]!

List of evidence assets supporting the submission.

πŸš€Β Request (Try It)