<div dir="ltr">Hi Haris,<div><br></div><div>Alex has explained what is the slug. </div><div><br></div><div>For the response format, it's XML only because that REST api is returning a specific format called TMX (Translation Memory eXchange) [1]. So the response can be imported into other translation platform and vice versa. I don't know if there is a similar json schema to serve the same purpose. You may want to explain what you want to use the json file for when you file the feature request.</div><div><br></div><div>[1] <a href="https://en.wikipedia.org/wiki/Translation_Memory_eXchange">https://en.wikipedia.org/wiki/Translation_Memory_eXchange</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 12, 2016 at 8:53 AM, Alex Eng <span dir="ltr"><<a href="mailto:aeng@redhat.com" target="_blank">aeng@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Haris, <div><br></div><div>Thanks for the feedback. We will certainly look into improving our documentation. </div><div><br></div><div>But to answer your question, </div><div>For {slug} in TM, its a unique string value which is used for a specific collection of imported TM, e.g. "Id" field for when admin create the tm collection.</div><div><br></div><div>As for Json file format support, can you please file a request in <a href="https://zanata.atlassian.net/" target="_blank">https://zanata.atlassian.net/</a>. </div><div>We generally use that as our backlog for all requests and bug tracker.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><br></div><div><font face="arial, helvetica, sans-serif" color="#999999"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">---------------------------------------------</span></font></div><div><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"><font face="arial, helvetica, sans-serif" color="#666666"><br></font></span></div><font face="arial, helvetica, sans-serif" color="#666666"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Alex Eng</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span></font></div><div dir="ltr"><font face="arial, helvetica, sans-serif" color="#666666">Senior Software Engineer<br style="font-size:13.3333330154419px"><span style="font-size:12.8000001907349px">Globalisation Tools Engineering</span><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">DID:</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><span style="font-size:13.3333330154419px"><a href="callto:+61+3514+8262" style="text-decoration:none" target="_blank">+61 3514 8262</a></span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Mobile:</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><span style="font-size:13.3333330154419px"><a href="callto:+614+2335+3457" style="text-decoration:none" target="_blank">+614 2335 3457</a></span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><br style="font-size:13.3333330154419px"><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Red Hat, Asia-Pacific Pty Ltd</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Level 1, 193 North Quay</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Brisbane 4000</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Office:</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><span style="font-size:13.3333330154419px"><a href="callto:+61+7+3514+8100" style="text-decoration:none" target="_blank">+61 7 3514 8100</a></span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Fax:</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><span style="font-size:13.3333330154419px"><a href="callto:+61+7+3514+8199" style="text-decoration:none" target="_blank">+61 7 3514 8199</a></span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Website:</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><span style="font-size:13.3333330154419px"><a href="http://www.redhat.com/" style="text-decoration:none" target="_blank">www.redhat.com</a></span></font><br></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote"><span class="">On Wed, May 11, 2016 at 10:53 PM, Haris Alijagić <span dir="ltr"><<a href="mailto:Haris.Alijagic@halcom.si" target="_blank">Haris.Alijagic@halcom.si</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">





<div lang="SL" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal">Could you improve the documentation for Zanata rest API a bit? Mainly this part
<a href="https://zanata.ci.cloudbees.com/job/zanata-api-site/site/zanata-common-api/rest-api-docs/resource_TranslationMemoryResource.html" target="_blank">
translation Memory</a>  is giving me a bit of an issue… For example how should the {slug} parameter look like? An example would be nice. Also right now it only accepts and sends responses in XML.. it would  be nice if you could make it so that it can accept
 and return a json response as well, like with the other resources <span style="font-family:Wingdings">
J</span>.<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
</div>
</div>

<br></span>_______________________________________________<br>
zanata-users mailing list<br>
<a href="mailto:zanata-users@redhat.com" target="_blank">zanata-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/zanata-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/zanata-users</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
zanata-users mailing list<br>
<a href="mailto:zanata-users@redhat.com">zanata-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/zanata-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/zanata-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Patrick Huang <br>Senior Software Engineer <br>Engineering - Internationalisation<br>Red Hat, Asia-Pacific Pty Ltd <br>Level 1, 193 North Quay <br>Brisbane 4000 <br>Office: +61 7 3514 8278 <br>Fax: +61 7 3514 8199 <br>IRC: pahuang<br>github: <a href="http://github.com/huangp" target="_blank">github.com/huangp</a><br>Website: <a href="http://www.redhat.com" target="_blank">www.redhat.com</a> <br></div></div>
</div>