Re: [translate-pootle] Accessing API does not seem to be working

2013-11-19 Thread Robert Williams
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:leandro.regue...@gmail.com] 
Gesendet: Freitag, 15. November 2013 15:51
An: Robert Williams
Cc: translate-pootle@lists.sourceforge.net
Betreff: Re: [translate-pootle] Accessing API does not seem to be working

On Fri, Nov 15, 2013 at 11:07 AM, Robert Williams 
robert.willi...@stimme-der-hoffnung.de 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=63431311iu=/4140/ostg.clktrk
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Accessing API does not seem to be working

2013-11-15 Thread Leandro Regueiro
On Fri, Nov 15, 2013 at 11:07 AM, Robert Williams
robert.willi...@stimme-der-hoffnung.de 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

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle