[OSM-dev] Use of OSM API for non-editing third party applications

Nick Whitelegg nick.whitelegg at solent.ac.uk
Fri Aug 2 11:36:03 UTC 2019



In the light of this discussion, and to follow up my original email, one thing I would want to do is associate uploaded panoramas with user IDs, for which I would need the OSM user details API. I would need this to only allow a given user to rotate or move their own panoramas, and not other users'. I presume this would be acceptable (if mentioned on an appropriate privacy policy)?

I tried to play around with Mapillary to see how they handle OSM authentication but I'm not sure whether it's working correctly- as  when I am returned to Mapillary after authentication with OSM, I get the error "User does not exist".

Nick
________________________________
From: Colin Smale <colin.smale at xs4all.nl>
Sent: 02 August 2019 10:15:45
To: dev at openstreetmap.org <dev at openstreetmap.org>; Tigerfell <tigerfell-688 at tuta.io>; Jóhannes Birgir Jensson <joi at betra.is>
Cc: dev Openstreetmap <dev at openstreetmap.org>
Subject: Re: [OSM-dev] Use of OSM API for non-editing third party applications

Now you are confusing authentication with authorisation.

On 2 August 2019 10:07:19 BST, Tigerfell <tigerfell-688 at tuta.io> wrote:
Not necessarily, the API calls
user/details (https://wiki.openstreetmap.org/wiki/API_v0.6#Details_of_the_logged-in_user) and
user/preferences (https://wiki.openstreetmap.org/wiki/API_v0.6#Preferences_of_the_logged-in_user) are used by some services to provide login and user organisation.

Tigerfell

Aug. 2, 2019, 2:14 a.m. by joi at betra.is:
Hello Martin.

I'm afraid you are confusing two different things.

The relevant page for authentication is this one https://wiki.openstreetmap.org/wiki/OAuth

This is a totally different thing from the editing API.

Cheers,
Jói

1. ágúst 2019 kl. 21:45, skrifaði "Martin Koppenhoefer" <dieterdreist at gmail.com<mailto:dieterdreist at gmail.com?to=%22Martin%20Koppenhoefer%22%20<dieterdreist at gmail.com>>>:

sent from a phone

On 1. Aug 2019, at 16:21, Jóhannes Birgir Jensson <joi at betra.is<mailto:joi at betra.is>> wrote:
I never read anything where it said that OSM-auth was only for editing. So I have worked on the assumption that the answer would be yes, you can piggyback.

it’s written here:
https://wiki.openstreetmap.org/wiki/API#Terms_of_use


Cheers Martin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20190802/4043b5d5/attachment-0001.html>


More information about the dev mailing list