[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 17:39:34 GMT 2008


On 25 Nov 2008, at 17:21, Chris Browet wrote:

>
> What we could do is to make it update the preferences that are sent,  
> rather than deleting all the preferences. This would be done as a  
> POST. Also being able to fetch all preferences that start with a  
> particular key may prove useful for things like editors getting all  
> their prefs.
>
> That seems very good. I didn't quite understood the reasoning behind  
> the "delete-before-update" paradigm. It makes the client quite  
> heavier, as it has to save all the preferences that don't belong to  
> him, merge with its own, then upload (that without taking into  
> account the undocumented "update_one").
>
> Also, the "fetch all preferences that start with a particular key"  
> is also something which would otherwise had to be done on the client  
> side, assuming all keys belonging to Merkaartor would start with  
> "Merkaartor/", for instance.
>

Considering that no one until now has started using preferences, can  
this wait until API 0.6?

Shaun


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2433 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20081125/0346ef6a/attachment.bin>


More information about the dev mailing list