Skip to content
Woolf Help Center home
Woolf Help Center home

✏️ 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!

ID of the resource to be modified.

resource

ResourceModifyInput!

Details of the modifications to be applied to the resource.

Input Object: ResourceModifyInput

Field

Type

Description

name

String

Updated name of the resource.

kind

ResourceKind

Updated resource type (ASSIGNMENT, MEETING, PUBLICATION).

isGradeRequired

Boolean

Indicates whether grading is required.

cohortName

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.

externalId

String

External system identifier for this resource.

content

String

Updated text content or instructions.

workload

Int

Updated estimated workload required.

weightIds

[ID!]

Updated grading weight categories applicable to this resource.

assets

[AssetInput!]

List of updated uploaded attachments related to the resource.

tags

[String!]

Updated tags assigned to categorize the resource.

teacherIds

[ID!]

Updated list of teacher IDs assigned to manage this resource.

Response Fields

Field

Type

Description

resource

Resource!

Details of the modified resource.

assets

[AssetUpload!]!

List of uploaded assets linked to the updated resource.

🚀 Request (Try It)