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

Tom Hughes tom at compton.nu
Tue Nov 25 16:46:54 GMT 2008


Shaun McDonald wrote:

> On 25 Nov 2008, at 16:39, Tom Hughes wrote:
>> Indeed - in fact can anybody give an example of when the update_all
>> method would be useful, given that it drops all existing prefs? In fact
>> if that is exposed via a route then I would say we should remove it
>> immediately as it is clearly exceedingly dangerous.
> 
> I remember Steve saying this was something to do with the REST mantra.

I don't see how - allowing GET/PUT/DELETE on individual preferences, 
plus a POST to create new preferences, would be exactly RESTish.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list