✏️ Modify Resource
The modifyResource mutation allows an instructor to update an existing learning resource within a course. This mutation can be used to change details such as the resource name, type, workload, or add additional assets.
Input Parameters
Parameter | Type | Description |
|---|---|---|
| ID! | ID of the resource to be modified. |
| ResourceModifyInput! | Details of the modifications to be applied to the resource. |
Input Object: ResourceModifyInput
Field | Type | Description |
|---|---|---|
| String | Updated name of the resource. |
| ResourceKind | Updated resource type ( |
| Boolean | Indicates whether grading is required. |
| String | A unique name identifying the cohort for this resource. Used by colleges to track compliance per delivery group. Cohort names are unique per course and reused for matching in compliance indicators. |
| String | External system identifier for this resource. |
| String | Updated text content or instructions. |
| Int | Updated estimated workload required. |
| [ID!] | Updated grading weight categories applicable to this resource. |
| [AssetInput!] | List of updated uploaded attachments related to the resource. |
| [String!] | Updated tags assigned to categorize the resource. |
| [ID!] | Updated list of teacher IDs assigned to manage this resource. |
Response Fields
Field | Type | Description |
|---|---|---|
| Resource! | Details of the modified resource. |
| [AssetUpload!]! | List of uploaded assets linked to the updated resource. |