Links the given source and target content as translations of each other.
const data = { path: "/content/documents/english/banners/banner-a", translations: [ "/content/documents/french/banners/banner-a", "/content/documents/german/banners/banner-a" ]};translationLink(environment, xAuthToken, data, true) .then(response => console.log(response.data)) .catch(error => console.error(error)); Copy
const data = { path: "/content/documents/english/banners/banner-a", translations: [ "/content/documents/french/banners/banner-a", "/content/documents/german/banners/banner-a" ]};translationLink(environment, xAuthToken, data, true) .then(response => console.log(response.data)) .catch(error => console.error(error));
Environment name: https://{{environment}}.bloomreach.io
BrX API Token
Optional
Links the given source and target content as translations of each other.
Example