Get published course items for an individual course
Rate limit: Maximum 15 requests in a window of 1m.
curl --request POST \
--url https://backend.codedamn.com/api/public/get-published-course-information \
--header 'Content-Type: application/json' \
--data '
{
"data": [
{
"data": {
"fermionCourseId": "<string>",
"fermionSchoolId": "<string>"
}
}
]
}
'[
{
"output": {
"status": "ok",
"data": {
"response": {
"courseType": "RecordedCourse",
"createdAt": "<string>",
"lastUpdatedAt": "<string>",
"instructors": [
{
"name": "<string>",
"profilePhotoUrl": "<string>",
"longDescriptionMarkdown": "<string>",
"tagline": "<string>"
}
],
"courseItems": [
{
"courseItemId": "<string>",
"sectionName": "<string>",
"link": "<string>",
"isFreePreviewAvailable": true,
"type": "Article",
"articleTitle": "<string>"
}
]
}
}
}
}
]API Request Body
Show child attributes
Show child attributes
ID of the course. ID is permanent for a given course. You can retrieve the course id with other API resolvers available and store them in your systems.
1Fermion school ID. School ID is permanent for a school.
1API Response Body
Show child attributes
ok Show child attributes
Show child attributes
The type of the course.
RecordedCourse Date when the course was created in ISO 8601 format.
Date when the course was last updated in ISO 8601 format.
Show child attributes
Name of the instructor.
URL of the instructor's profile photo.
A long description of the instructor in Markdown format.
A short tagline for the instructor.
Show child attributes
Unique ID for the course item.
The name of the section this course item belongs to.
A URL to view the course item on the web.
Whether this course item is available as a free preview.
Article Title of the article.
curl --request POST \
--url https://backend.codedamn.com/api/public/get-published-course-information \
--header 'Content-Type: application/json' \
--data '
{
"data": [
{
"data": {
"fermionCourseId": "<string>",
"fermionSchoolId": "<string>"
}
}
]
}
'[
{
"output": {
"status": "ok",
"data": {
"response": {
"courseType": "RecordedCourse",
"createdAt": "<string>",
"lastUpdatedAt": "<string>",
"instructors": [
{
"name": "<string>",
"profilePhotoUrl": "<string>",
"longDescriptionMarkdown": "<string>",
"tagline": "<string>"
}
],
"courseItems": [
{
"courseItemId": "<string>",
"sectionName": "<string>",
"link": "<string>",
"isFreePreviewAvailable": true,
"type": "Article",
"articleTitle": "<string>"
}
]
}
}
}
}
]