Get detailed metadata of a specific course using its slug
Authentication with the “FERMION-API-KEY” header is required to use this endpoint.
Rate limit: Maximum 60 requests in a window of 1m.
curl --request POST \
--url https://backend.codedamn.com/api/public/get-course-metadata-by-slug \
--header 'Content-Type: application/json' \
--header 'FERMION-API-KEY: <api-key>' \
--data '
{
"data": [
{
"data": {
"courseSlug": "<string>"
}
}
]
}
'[
{
"output": {
"status": "ok",
"data": {
"title": "<string>",
"shortDescription": "<string>",
"longDescription": "<string>",
"thumbnailUrl": "<string>",
"slug": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"lastUpdatedAt": "2023-11-07T05:31:56Z",
"ratingOutOf10": 123,
"instructors": [
{
"name": "<string>",
"profilePhotoUrl": "<string>",
"longDescriptionMarkdown": "<string>",
"tagline": "<string>"
}
],
"faqs": [
{
"questionMarkdown": "<string>",
"answerMarkdown": "<string>"
}
],
"courseItemCount": {
"articlesCount": 123,
"videosCount": 123,
"quizzesCount": 123,
"codingLabsCount": 123,
"ebooksCount": 123,
"contestsCount": 123,
"assignmentsCount": 123
},
"courseSpecificData": {
"type": "CohortBasedCourse",
"cohortStartDate": "2023-11-07T05:31:56Z",
"cohortEndDate": "2023-11-07T05:31:56Z"
}
}
}
}
]API Request Body
API Response Body
Show child attributes
ok Show child attributes
Title of the course
Short description of the course
Long description of the course
URL of the course thumbnail image
URL-friendly slug of the course
Timestamp when the course was created
Timestamp when the course was last updated
Course rating on a scale of 1-10
List of course instructors
Show child attributes
Name of the instructor
URL of the instructor's profile photo
Detailed markdown description of the instructor
Short tagline or title of the instructor
Count of different types of content in the course
Show child attributes
Number of articles in the course
Number of videos in the course
Number of quizzes in the course
Number of coding labs in the course
Number of ebooks in the course
Number of contests in the course
Number of assignments in the course
curl --request POST \
--url https://backend.codedamn.com/api/public/get-course-metadata-by-slug \
--header 'Content-Type: application/json' \
--header 'FERMION-API-KEY: <api-key>' \
--data '
{
"data": [
{
"data": {
"courseSlug": "<string>"
}
}
]
}
'[
{
"output": {
"status": "ok",
"data": {
"title": "<string>",
"shortDescription": "<string>",
"longDescription": "<string>",
"thumbnailUrl": "<string>",
"slug": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"lastUpdatedAt": "2023-11-07T05:31:56Z",
"ratingOutOf10": 123,
"instructors": [
{
"name": "<string>",
"profilePhotoUrl": "<string>",
"longDescriptionMarkdown": "<string>",
"tagline": "<string>"
}
],
"faqs": [
{
"questionMarkdown": "<string>",
"answerMarkdown": "<string>"
}
],
"courseItemCount": {
"articlesCount": 123,
"videosCount": 123,
"quizzesCount": 123,
"codingLabsCount": 123,
"ebooksCount": 123,
"contestsCount": 123,
"assignmentsCount": 123
},
"courseSpecificData": {
"type": "CohortBasedCourse",
"cohortStartDate": "2023-11-07T05:31:56Z",
"cohortEndDate": "2023-11-07T05:31:56Z"
}
}
}
}
]