Skip to main content
objectCoursework

Implements

Fields

Direct child items (sections/lessons/quizzes under this one), ordered by position.

Arguments
after
String

Returns the elements in the list that come after the specified cursor.

before
String

Returns the elements in the list that come before the specified cursor.

first
Int

Returns the first n elements from the list.

last
Int

Returns the last n elements from the list.

completionCriteria

How the item is marked complete for a member.

course

The course this item belongs to.

createdAt
ISO8601DateTime!
descriptionHtml
String

HTML body with formatted mentions, hashtags, and links; internal classes and attributes are stripped on external API surfaces.

descriptionText
String

Plain text body with HTML stripped.

id
ID!

ID of the object.

imageUrl
String

Representative image URL for the item, falling back to a default course header image when the item has no display image of its own.

isAudio
Boolean!

True when the item's content contains audio, either as the header media or in the body.

isVideo
Boolean!

True when the item's content contains a video.

Parent section or overview; null for the overview itself.

position
Int

Sort position within its siblings (lower comes first). Compare only between items sharing the same parent.

quizAttemptMemberCount
Int

Number of distinct members with an active membership who have at least one attempt in the given status. Null for non-quiz coursework and for viewers who are not a host of the quiz's space.

Arguments
status

The attempt status to count members by.

Members' attempts at this quiz, newest first. Hosts and moderators see every member's attempts (member identity and scores); members see only their own. Empty for non-quiz coursework and signed-out viewers.

Arguments
after
String

Returns the elements in the list that come after the specified cursor.

before
String

Returns the elements in the list that come before the specified cursor.

first
Int

Returns the first n elements from the list.

last
Int

Returns the last n elements from the list.

Optionally filter to one or more attempt statuses.

quizQuestions

Questions in this quiz, in display order. Empty for non-quiz coursework.

Arguments
after
String

Returns the elements in the list that come after the specified cursor.

before
String

Returns the elements in the list that come before the specified cursor.

first
Int

Returns the first n elements from the list.

last
Int

Returns the last n elements from the list.

quizStats

Aggregate results for this quiz. Null for non-quiz coursework and for viewers who are not a host or moderator of the quiz's space.

resourceId
ID!

Resource ID for this object, for interop with the Admin API.

Visibility status.

title
String

The kind of coursework item.

unlockingCriteria

When the item becomes available to a member.

updatedAt
ISO8601DateTime!
url
String!

Canonical web URL of the coursework item.