Skip to content

CourseMembership

Relationship between a user and a course

Fields

course · Course · the course associated with this membership
course_id · ID · id of course related to this membership
course_status · String! · required · status of related course completion
created_at · String! · required · date membership was created
cursor · Cursor! · required · Pagination cursor
id · ID! · required · The unique identifier of the membership
next_incomplete_item · CourseItem · The next incomplete item
next_next_incomplete_item · CourseItem · The incomplete item after the next incomplete item
start_at · String · start of course
updated_at · String! · required · date membership was updated
user · User · the user associated with this membership
user_id · ID · id of user related to this membership

Used By

Definition

"""
Relationship between a user and a course
"""
type CourseMembership {
"""
the course associated with this membership
"""
course: Course
"""
id of course related to this membership
"""
course_id: ID
"""
status of related course completion
"""
course_status: String!
"""
date membership was created
"""
created_at: String!
"""
Pagination cursor
"""
cursor: Cursor!
"""
The unique identifier of the membership
"""
id: ID!
"""
The next incomplete item
"""
next_incomplete_item: CourseItem
"""
The incomplete item after the next incomplete item
"""
next_next_incomplete_item: CourseItem
"""
start of course
"""
start_at: String
"""
date membership was updated
"""
updated_at: String!
"""
the user associated with this membership
"""
user: User
"""
id of user related to this membership
"""
user_id: ID
}