[OSM-dev] 0.5 API: /api/0.5/user/preferences, values truncated to 256 chars

Shaun McDonald shaun at shaunmcdonald.me.uk
Tue Nov 25 15:49:35 GMT 2008


The key and value can only be 256 char long, due to the way that they 
are stored in the database as a VARCHAR.

With API 0.6, the API will reject keys and values of length 0 or more 
than 255.

Shaun

Chris Browet wrote:
> Hi,
>
> It seems, contrary to what the api page says, that when using user 
> preferences, values are truncated to 256 chars.
>
> Could someone confirm?
>
> - Chris -
> ------------------------------------------------------------------------
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20081125/e8965f25/attachment.html>


More information about the dev mailing list