curl --request POST \
--url https://backend.codedamn.com/api/public/get-course-id-from-course-slug \
--header 'Content-Type: application/json' \
--data '{
"data": [
{
"data": {
"fermionSchoolId": "<string>",
"courseSlug": "<string>"
}
}
]
}'
[
{
"output": {
"status": "ok",
"data": {
"fermionCourseId": "<string>"
}
}
}
]
Get ID of a course from its slug
Rate limit: Maximum 15 requests in a window of 1m.
curl --request POST \
--url https://backend.codedamn.com/api/public/get-course-id-from-course-slug \
--header 'Content-Type: application/json' \
--data '{
"data": [
{
"data": {
"fermionSchoolId": "<string>",
"courseSlug": "<string>"
}
}
]
}'
[
{
"output": {
"status": "ok",
"data": {
"fermionCourseId": "<string>"
}
}
}
]
API Request Body
The body is of type object
.
API Response Body
The response is of type object[]
.