[zanata-users] Rest API Documentation down?

Nghia Duong nghia.duong at crossknowledge.com
Fri Sep 6 07:24:52 UTC 2013


Thanks for the quick answer Sean,

I am coding against Zanata's REST API with PHP (creating cURL requests with
the right infos depending on the actions I want to perform). While
re-reading the error log I saw a MySQL insufficient thread stack size
problem, I will try to increase that and see where it leads me.

If other people want to use PHP to interact with the API, here's what I
have: https://github.com/adlq/zanata-php-toolkit. It is under-documented
and under development but it does the job of uploading POT source documents
and translations (which is what I need).

Regards,

Nghia


2013/9/6 Sean Flanigan <sflaniga at redhat.com>

> Hi Nghia
>
> Are you writing code against the REST API?  Which language are you using?
>
>
> If you are, a very old version of the REST docs can be found here:
>
>
> https://zanata.ci.cloudbees.com/view/All/job/zanata-server-site/site/zanata-war/apidocs/index.html
>
> but that URL will change if we get the cloudbees build to work again.
>
>
> At present, I'm afraid the only place to get up to date info about the
> REST API (including async push) is the source code:
>
>
> https://github.com/zanata/zanata-api/tree/master/zanata-common-api/src/main/java/org/zanata
>
> But if you are coding against the REST API, do let us know, and we'll
> try to do something about improving the situation.
>
>
> (If you are writing Java code, you can use the Java classes directly, as
> we do in the Java clients for Zanata.)
>
>
>
> On the other hand, if you are trying to use a command-line Zanata
> client, we have some new documentation under development.  It has been
> moving around, but right now it can be found here:
>   http://zanata.org/new/help/
>
>
> If you are using the Python client, it doesn't support the async push
> API, which is needed for larger source documents (eg POT).
>
> The Java client does support async push.  If you want to use it, see the
> help URL above.
>
>
> Regards
>
> Sean.
>
> On 2013-09-06 01:11, Nghia Duong wrote:
> > Hi all,
> >
> > I just wanted to point out that the REST API Documentation
> > (
> https://zanata.ci.cloudbees.com/job/zanata-site/site/zanata-war/apidocs/index.html
> )
> > has been down since quite some time.
> >
> > I'm using that API on Zanta 3.0.2 and would like to know whether there
> > has been any changes to it, especially around regarding timeouts (I'm
> > trying to upload a POT file a a source document and I always get a 500
> > internal error).
> >
> > Has the documentation been moved to somewhere else?
> >
> >
> > Thanks,
> >
> > Nghia
> >
> >
> > _______________________________________________
> > zanata-users mailing list
> > zanata-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/zanata-users
> >
>
>
> --
> Sean Flanigan
>
> Senior Software Engineer
> Engineering - Internationalisation
> Red Hat
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/zanata-users/attachments/20130906/23f5d7dc/attachment.htm>


More information about the zanata-users mailing list