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

------------------------------------------------------------------------------
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=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to