[OSM-dev] 0.5 API: /api/0.5/user/preferences, values truncated to 256 chars
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...
> 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 Hughes (tom at compton.nu)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev