User talk:Frederik Ramm/Ideas for API 0.7

From OpenStreetMap Wiki
Jump to navigation Jump to search

"if-modified-since" requests

I like the idea, but think a better way of doing it would be to use version numbers as etags, and use If-None-Match to indicate which version the client has. The same mechanism can then be used for history requests, e.g. use If-Match to retrieve a specific version of an object. Jonathan Bennett 19:23, 18 March 2011 (UTC)


Multilayer API

While it seems promising at first (clean editing experience with just what you really need/want), it bears even more potential for problems than what you mention: not only will it require to block elements (e.g. nodes) from deleting or manipulation, that are used by other, currently invisible data, ultimately everything is in relation with everything and just because they aren’t connected through nodes but only through their positions, moving things when you don’t see the whole picture shouldn’t be possible, as you will inadvertently break stuff without noticing it, e.g. a shop out of a building. —Dieterdreist (talk) 14:09, 13 December 2018 (UTC)