<div dir="ltr">That is great news, thank you for the updated documentation, I'll definitely check that out.<div><br></div><div>As for the other issue, increasing the thread stack size solved it for me!</div><div><br></div>
<div>Also, do you guys still process the tickets on Bugzilla or should I post the bug over here as well?</div><div><br></div><div>Regards,</div><div><br></div><div>Nghia</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/9/11 Sean Flanigan <span dir="ltr"><<a href="mailto:sflaniga@redhat.com" target="_blank">sflaniga@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Nghia<br>
<br>
The latest nightly version of the REST API is now documented here:<br>
<br>
<a href="https://zanata.ci.cloudbees.com/job/zanata-api-site/site/zanata-common-api/rest-api-docs/index.html" target="_blank">https://zanata.ci.cloudbees.com/job/zanata-api-site/site/zanata-common-api/rest-api-docs/index.html</a><br>
<br>
Note that some of the generated links to data type definitions are wrong<br>
(404), but if you look up the data type from the home page above, I<br>
think it's all there.<br>
<br>
<br>
Also note that new features (eg translation memory import/export) won't<br>
be available when running against older servers, and will return 404<br>
responses.<br>
<br>
<br>
Regards<br>
<br>
Sean.<br>
<div class="im"><br>
On 2013-09-06 17:24, Nghia Duong wrote:<br>
> Thanks for the quick answer Sean,<br>
><br>
> I am coding against Zanata's REST API with PHP (creating cURL requests<br>
> with the right infos depending on the actions I want to perform). While<br>
> re-reading the error log I saw a MySQL insufficient thread stack size<br>
> problem, I will try to increase that and see where it leads me.<br>
><br>
> If other people want to use PHP to interact with the API, here's what I<br>
> have: <a href="https://github.com/adlq/zanata-php-toolkit" target="_blank">https://github.com/adlq/zanata-php-toolkit</a>. It is under-documented<br>
> and under development but it does the job of uploading POT source<br>
> documents and translations (which is what I need).<br>
><br>
> Regards,<br>
><br>
> Nghia<br>
><br>
><br>
</div>> 2013/9/6 Sean Flanigan <<a href="mailto:sflaniga@redhat.com">sflaniga@redhat.com</a> <mailto:<a href="mailto:sflaniga@redhat.com">sflaniga@redhat.com</a>>><br>
<div><div class="h5">><br>
> Hi Nghia<br>
><br>
> Are you writing code against the REST API? Which language are you<br>
> using?<br>
><br>
><br>
> If you are, a very old version of the REST docs can be found here:<br>
><br>
> <a href="https://zanata.ci.cloudbees.com/view/All/job/zanata-server-site/site/zanata-war/apidocs/index.html" target="_blank">https://zanata.ci.cloudbees.com/view/All/job/zanata-server-site/site/zanata-war/apidocs/index.html</a><br>
><br>
> but that URL will change if we get the cloudbees build to work again.<br>
><br>
><br>
> At present, I'm afraid the only place to get up to date info about the<br>
> REST API (including async push) is the source code:<br>
><br>
> <a href="https://github.com/zanata/zanata-api/tree/master/zanata-common-api/src/main/java/org/zanata" target="_blank">https://github.com/zanata/zanata-api/tree/master/zanata-common-api/src/main/java/org/zanata</a><br>
><br>
> But if you are coding against the REST API, do let us know, and we'll<br>
> try to do something about improving the situation.<br>
><br>
><br>
> (If you are writing Java code, you can use the Java classes directly, as<br>
> we do in the Java clients for Zanata.)<br>
><br>
><br>
><br>
> On the other hand, if you are trying to use a command-line Zanata<br>
> client, we have some new documentation under development. It has been<br>
> moving around, but right now it can be found here:<br>
> <a href="http://zanata.org/new/help/" target="_blank">http://zanata.org/new/help/</a><br>
><br>
><br>
> If you are using the Python client, it doesn't support the async push<br>
> API, which is needed for larger source documents (eg POT).<br>
><br>
> The Java client does support async push. If you want to use it, see the<br>
> help URL above.<br>
><br>
><br>
> Regards<br>
><br>
> Sean.<br>
><br>
> On 2013-09-06 01:11, Nghia Duong wrote:<br>
> > Hi all,<br>
> ><br>
> > I just wanted to point out that the REST API Documentation<br>
> ><br>
> (<a href="https://zanata.ci.cloudbees.com/job/zanata-site/site/zanata-war/apidocs/index.html" target="_blank">https://zanata.ci.cloudbees.com/job/zanata-site/site/zanata-war/apidocs/index.html</a>)<br>
> > has been down since quite some time.<br>
> ><br>
> > I'm using that API on Zanta 3.0.2 and would like to know whether there<br>
> > has been any changes to it, especially around regarding timeouts (I'm<br>
> > trying to upload a POT file a a source document and I always get a 500<br>
> > internal error).<br>
> ><br>
> > Has the documentation been moved to somewhere else?<br>
> ><br>
> ><br>
> > Thanks,<br>
> ><br>
> > Nghia<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > zanata-users mailing list<br>
</div></div>> > <a href="mailto:zanata-users@redhat.com">zanata-users@redhat.com</a> <mailto:<a href="mailto:zanata-users@redhat.com">zanata-users@redhat.com</a>><br>
<div class="HOEnZb"><div class="h5">> > <a href="https://www.redhat.com/mailman/listinfo/zanata-users" target="_blank">https://www.redhat.com/mailman/listinfo/zanata-users</a><br>
> ><br>
><br>
><br>
> --<br>
> Sean Flanigan<br>
><br>
> Senior Software Engineer<br>
> Engineering - Internationalisation<br>
> Red Hat<br>
><br>
><br>
<br>
<br>
--<br>
Sean Flanigan<br>
<br>
Senior Software Engineer<br>
Engineering - Internationalisation<br>
Red Hat<br>
<br>
</div></div></blockquote></div><br></div>