Leandro,

Thank you for the clarification. We will need to wait until the 2.5.1 version 
comes out.

Kind Regards,

Robert


-----Ursprüngliche Nachricht-----
Von: Leandro Regueiro [mailto:[email protected]] 
Gesendet: Freitag, 15. November 2013 15:51
An: Robert Williams
Cc: [email protected]
Betreff: Re: [translate-pootle] Accessing API does not seem to be working

On Fri, Nov 15, 2013 at 11:07 AM, Robert Williams 
<[email protected]> wrote:
> Hello,

Hi

> I am trying to use the documented API but something is not working correctly. 
> I have an admin permissions for the user and am using a REST plugin for 
> Firefox. The result is always a 404 error. Here is an example where the query 
> is simply looking for a list of the languages to return:
>
> http://77.232.231.103/api/v1/languages/en/

The API was added _after_ 2.5.0, and is going to be in the next version (2.5.1) 
we are trying to release these days. So my first question is, is it really a 
Pootle 2.5.0 as told in http://77.232.231.103/about/?

If you actually have a Pootle newer than 2.5.0, maybe deployed directly from 
the repo, did you enabled the API in your Pootle settings (POOTLE_ENABLE_API = 
True)?


> Second question deals with the API in the URL above, is there a way to find 
> which API number should be in the URL?

No. For now we are on "v1". In the future that might change as we add/change 
the exposed resources.

Bye

> Many thanks in advance for the assistance.
>
>
> Regards
>
> Robert
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to