Hi, when I retrieve articles/translations over the API all relative links become absolute links. This becomes an issue when updating the translation over the API. What used to be relative will then be absolute.
For instance when I include an image into an Article the source in Guide looks like:
<img src="/hc/article_attachments/1000/image.svg" alt="image.svg"> -
When I query the translation over the IP this leads to (edited for better readability):
<p><img src="https://support.my-domain.com/hc/article_attachments/1000/image.svg" alt="image.svg"></p>
When updating the translation via the API the absolute path will be kept which sort of breaks the document, at least the Guide editor will no longer show the image.
Question: Is there a way to specify that relative URLs should be return relative over the API?
Please sign in to leave a comment.