Courses
Courses
/ v1 / courses The online courses of the account: name, number of lessons (drafts included) and the products that give access.
- Archived courses are left out.
legacy_coursesare old courses that nobody has opened in the new course editor yet.
For the modules, lessons and number of participants of one course, call GET /v1/courses/{course_id}.
Authorization
-
Authorizationstring header requiredBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Introduction
Response
Fields of the answer with status 200. Errors always have the same format, see Errors.
-
coursesarray of objectThe courses, newest first.
Show 5 fields Hide fields
-
idintegerThe ID.
-
namestringThe name.
-
lessonsintegerLessons, drafts included.
-
productsarray of objectProducts that give access.
Show 3 fields Hide fields
-
idintegerThe ID.
-
namestringProduct name.
-
statusstringarchived = deleted.
Allowed values:
livedraftarchived
-
-
admin_urlstring<uri>The page in the Tentary app.
-
-
legacy_coursesarray of objectOld courses that the seller has not opened in the new course editor yet.
Show 3 fields Hide fields
-
product_idintegerThe product ID.
-
namestringThe name.
-
admin_urlstring<uri>The page in the Tentary app.
-
-
truncatedbooleantrue = the account has more than 200 courses.
-
linksobjectPages in the Tentary app or on tentary.com.
Show 1 field Hide fields
-
coursesstring<uri>Page in the Tentary app.
-