ποΈ Get Resource by ID
The resource query retrieves details of a specific resource using its unique ID. This includes resource name, type, workload, status, and cross-listing information.
Parameters
Parameter | Type | Description |
|---|---|---|
id | String! | Unique identifier of the resource to retrieve. |
Response Fields
Field | Type | Description |
|---|---|---|
id | ID! | Unique identifier of the resource. |
externalId | String | External identifier linked to the resource. |
created | DateTime! | Timestamp when the resource was created. |
updated | DateTime! | Timestamp when the resource was last updated. |
courseId | ID | Course associated with the resource. Nullable for V2 cross-listed resources. |
cohortId | ID | The internal identifier of the cohort associated with this resource. Used for linking and lookup within Woolfβs AMS. |
isV2 | Boolean! | Indicates whether this is a V2 cross-listed resource. |
crossListingTags | [CrossListingTag!]! | Cross-listing tags scoped to the authenticated college. Returns an empty list if the resource is not V2 or no college context is available. |
cohortName | String | The custom name of the cohort this resource belongs to, used for cohort-level compliance tracking and reporting. Unique per course. |
rejectionReason | String | Reason for resource rejection, if applicable. |
name | String! | Resource name. |
content | String | Text content of the resource. |
workload | Int! | Workload value assigned to the resource. |
workloadMultiplier | Float! | Multiplier applied to workload calculations. |
workloadExecution | Int! | Workload execution value. |
kind | ResourceKind! | Type of resource (ASSIGNMENT, ASSIGNMENT_SUMMATIVE, MEETING, GENERAL, PUBLICATION, PUBLICATION_REVIEWED). |
status | ResourceStatus! | Current status of the resource (DRAFT, REJECTED, SUBMITTED, VERIFIED, ARCHIVED). |
weights | [Weight!] | List of grading weight categories for the resource. |
assets | [Asset!] | List of associated assets linked to the resource. |
Note:
isV2andcrossListingTagsare part of the cross-listed resources feature, which is currently available to select colleges. If your college does not use cross-listed resources,isV2will returnfalseandcrossListingTagswill return an empty list.
CrossListingTag Fields
The crossListingTags field returns an array of CrossListingTag objects. Each tag represents a cross-listing scope for the resource within the authenticated collegeβs context.
Field | Type | Description |
|---|---|---|
id | ID! | Unique identifier of the cross-listing tag. |
level | String! | Scope level of the tag (e.g. UNIVERSITY, COLLEGE, DEGREE, COURSE). |
collegeId | ID | College associated with this tag. |
collegeName | String | Name of the associated college. |
degreeId | ID | Degree associated with this tag. |
degreeName | String | Name of the associated degree. |
courseId | ID | Course associated with this tag. |
courseName | String | Name of the associated course. |
order | Int | Display order of the tag. |