Skip to main content
objectCourse

Implements

Fields

avatarDarkModeUrl
String

Dark-mode variant of the avatar image URL.

avatarUrl
String

Avatar image URL.

Coursework items within the course, ordered by position. Filter by type, status, or a parent item. Hidden and pending items are listed only for a Host or moderator of the course.

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.

parentId
ID

Only the direct children of this coursework item (its resource ID or GlobalID).

Only items with this visibility status. Narrows what the viewer may already see, so HIDDEN or PENDING returns nothing to anyone but a Host or moderator of the course.

Only items of this kind (lesson, quiz, section, overview).

createdAt
ISO8601DateTime

When the Space was created.

descriptionHtml
String

The course's description as sanitized HTML.

descriptionText
String

The course's description as plain text, with HTML stripped.

id
ID!

ID of the object.

Posts, events, and polls that make up the course's content. Coursework that is not posted is included only for a Host or moderator of the course.

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.

resourceId
ID!

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

title
String!
updatedAt
ISO8601DateTime

When the Space record last changed.

url
String!

Canonical web URL.