Skip to main content
Version: s5

Course

Course (language invariant)

type Course {
id: String!
universalTitle: String!
contentValue: Int!
category: [Category!]!
topic: [ContentTopic!]!
createdAt: DateTimeISO!
updatedAt: DateTimeISO!
deletedAt: DateTimeISO
courseDetailsList(
where: CourseDetailsWhere
limit: Int
offset: Int
): [CourseDetails!]!
courseItems(
where: CourseItemWhere
limit: Int
offset: Int
): [CourseItem!]!
photo: File!
}

Fields

Course.id ● String! non-null scalar

UUID of course

Course.universalTitle ● String! non-null scalar

Universal title of course

Course.contentValue ● Int! non-null scalar

Content value of course

Course.category ● [Category!]! non-null enum

List of categories course is included in

Course.topic ● [ContentTopic!]! non-null enum

Topic of the course

Course.createdAt ● DateTimeISO! non-null scalar

Creation time given as the ISO Date string

Course.updatedAt ● DateTimeISO! non-null scalar

Last update time given as the ISO Date string

Course.deletedAt ● DateTimeISO scalar

Soft delete time given as the ISO Date string

Course.courseDetailsList ● [CourseDetails!]! non-null object

Courses of the course

Course.courseDetailsList.where ● CourseDetailsWhere input
Course.courseDetailsList.limit ● Int scalar

Corresponds to the maximum number of items returned. Can be used in conjunction with “Offset” and “Order” to implement pagination.

Course.courseDetailsList.offset ● Int scalar

Corresponds to the number of items skipped before the first returned result. Can be used in conjunction with “Limit” and “Order” to implement pagination.

Course.courseItems ● [CourseItem!]! non-null object

Courses of the course

Course.courseItems.where ● CourseItemWhere input
Course.courseItems.limit ● Int scalar

Corresponds to the maximum number of items returned. Can be used in conjunction with “Offset” and “Order” to implement pagination.

Course.courseItems.offset ● Int scalar

Corresponds to the number of items skipped before the first returned result. Can be used in conjunction with “Limit” and “Order” to implement pagination.

Course.photo ● File! non-null object

Photo for article

Returned By

getCourses query

Member Of

CourseDetails object ● CourseItem object