Get a course translation in one language
get
https://mudey.fr/api/v1/courses/{courseId}/translations/{language}courses:readAuthorization: Bearer mudey_sk_… header required. Create and use a key
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| courseId* | path | string | |
| language* | path | fr | en | nl | Site language (fr, en or nl), other than the course language. |
Responses
200Translation.401Missing, invalid, revoked or expired key.403Missing permission on the key, or the account is no longer an instructor.404Resource not found among your courses.422Invalid data (details lists the fields).429Rate limit exceeded (300 calls per minute per key). See the Retry-After header.
Example
export MUDEY_API_KEY="mudey_sk_..."
export COURSE_ID="..." # replace me
export LANGUAGE="..." # replace me
curl "https://mudey.fr/api/v1/courses/$COURSE_ID/translations/$LANGUAGE" \
-H "Authorization: Bearer $MUDEY_API_KEY"