Hi,
I’m new with BR and i’m trying to receive translated document through rest.
I’ve got document in two languages in CMS. Any tips how could I achieve that?
Thanks
Hi,
I’m new with BR and i’m trying to receive translated document through rest.
I’ve got document in two languages in CMS. Any tips how could I achieve that?
Thanks
If you are using the content rest API, you only get the documents that belong to that mount. You can’t really switch between a document and the translation directly.
If you are creating a custom service, you can get translated documents by calling getAvailableTranslations on the document object.
Thanks, got what needed through getAvailableTranslations