POST
/
public
/
get-course-metadata-by-slug
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>",
        "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

FERMION-API-KEY
string
header
required

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[].