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

Chris Browet cbro at semperpax.com
Tue Nov 25 16:36:29 GMT 2008


Well, I don't know who wrote the api doc, but he was...

 Preferences
>
> The OSM server supports storing arbitrary user preferences. This can be
> used by editors, for example, to offer the same configuration whereever the
> user logs in, instead of a locally-stored configuration.
>


2008/11/25 Tom Hughes <tom at compton.nu>

> Andy Allan wrote:
>
>  As for the 150 entries, that only seems to apply to the update method,
>> as far as my reading of the code goes. YMMV, but it seems fine to make
>> 151 calls to the update_one method instead. It's probably best to
>> avoid bulk updating more than 150 entries but I'm not certain what
>> Steve was planning when he wrote it originally.
>>
>
> I suspect what he *wasn't* thinking of was editors trying to store hundreds
> of user preferences in there, that's for sure ;-)
>
>
> Tom
>
> --
> Tom Hughes (tom at compton.nu)
> http://www.compton.nu/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/merkaartor/attachments/20081125/77ff5e1c/attachment.html>


More information about the Merkaartor mailing list