Course
Get course metadata by slug
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.
POST
/
public
/
get-course-metadata-by-slug
Copy
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>"
}
}
]
}'
Copy
[
{
"output": {
"status": "ok",
"data": {
"title": "<string>",
"shortDescription": "<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>"
}
],
"courseItems": [
{
"type": "Article",
"title": "<string>"
}
],
"courseItemCount": {
"articlesCount": 123,
"videosCount": 123,
"quizzesCount": 123,
"codingLabsCount": 123,
"ebooksCount": 123,
"contestsCount": 123,
"assignmentsCount": 123
}
}
}
}
]
Authorizations
Body
application/json
API Request Body
The body is of type object
.
Response
200 - application/json
API Response Body
The response is of type object[]
.
Copy
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>"
}
}
]
}'
Copy
[
{
"output": {
"status": "ok",
"data": {
"title": "<string>",
"shortDescription": "<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>"
}
],
"courseItems": [
{
"type": "Article",
"title": "<string>"
}
],
"courseItemCount": {
"articlesCount": 123,
"videosCount": 123,
"quizzesCount": 123,
"codingLabsCount": 123,
"ebooksCount": 123,
"contestsCount": 123,
"assignmentsCount": 123
}
}
}
}
]
Assistant
Responses are generated using AI and may contain mistakes.