This endpoint is used for retreiving or creating a translation tree like structure containing all folders and keys for a specific app by either appId or gameId. According to your app settings if the requested language is not available it'll be auto-translated and saved.

Example of a request for specific keys by path.

const axios = require('axios');

// TODO Developer uncomment lines bellow
// let appId = 
// let languageIsoCode = 
// let keyPath1 = 
// let keyPath2 = 

let config = {
  method: 'get',
  maxBodyLength: Infinity,
  url: 'https://cloud.fireballserver.com/translations/v1/translate?appId=${appId}&languageIsoCode=${languageCode}&keyPaths=${keyPath1}&keyPaths=${keyPath2}',
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

Language
Click Try It! to start a request and see the response here!