POST
/
public
/
get-all-courses
Get published courses
curl --request POST \
  --url https://backend.codedamn.com/api/public/get-all-courses \
  --header 'Content-Type: application/json' \
  --data '{
  "data": [
    {
      "data": {
        "searchFilter": {
          "searchTerm": "<string>"
        },
        "fermionSchoolId": "<string>"
      }
    }
  ]
}'
[
  {
    "output": {
      "status": "ok",
      "data": {
        "courses": [
          {
            "fermionCourseId": "<string>",
            "courseName": "<string>",
            "courseSlug": "<string>",
            "courseLink": "<string>",
            "thumbnailUrl": "<string>",
            "createdAt": "<string>",
            "lastUpdatedAt": "<string>",
            "ratingOutOf10": 123,
            "instructors": [
              {
                "name": "<string>",
                "profilePhotoUrl": "<string>",
                "longDescriptionMarkdown": "<string>",
                "tagline": "<string>"
              }
            ]
          }
        ]
      }
    }
  }
]

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