Paths
Replace all translations for a path
🔑
Required OAuth scope: paths:write.
Replaces all translations in the given path with the provided ones. Translations not included are removed.
put/api/v2/paths/{pathId}/translations
Request
- Base URLhttps://app.360learning.com
- URLhttps://app.360learning.com/api/v2/paths/{pathId}/translations
- AuthOAuth 2Client credentialsToken URL: /api/v2/oauth2/token
Path parameters
pathIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the path.
Headers
360-api-version'v2.0' required
The version of the API.
Request body
Example request
{
"translations": [
{
"lang": "fr",
"translatorIds": [
"507f1f77bcf86cd799439011"
],
"translatedFields": {
"name": "Accueil des employés",
"description": "Ce chemin vous apprend à intégrer un nouveau collaborateur !"
}
}
]
}Response
Returns the updated path translations.
Example response
[
{
"lang": "fr",
"translatorIds": [
"507f1f77bcf86cd799439011"
],
"translatedFields": {
"name": "Accueil des employés",
"description": "Ce chemin vous apprend à intégrer un nouveau collaborateur !"
}
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.