π€ 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 |
|---|---|---|
| SubmissionInput! | Submission details, including student ID, activity ID, and content. |
Input Object: SubmissionInput
Field | Type | Description |
|---|---|---|
| ID | ID of the activity the submission is for. |
| ID | ID of the resource linked to this submission. |
| ID | ID of the student submitting the assignment. |
| String | Text content of the submission. |
| [AssetInput!] | List of uploaded attachments related to the submission. |
| [AssetInput!] | List of evidence assets used to support the submission. |
Response Fields
Field | Type | Description |
|---|---|---|
| ID! | Unique identifier of the submission activity. |
| [AssetUpload!]! | List of uploaded assets attached to the submission. |
| [AssetUpload!]! | List of evidence assets supporting the submission. |