I need to check whether user with concrete username exists or not. With API v3 it could be done via query
https://a.mapillary.com/v3/users?usernames=%s&client_id=%s
Is there similar request in API v4?
I need to check whether user with concrete username exists or not. With API v3 it could be done via query
https://a.mapillary.com/v3/users?usernames=%s&client_id=%s
Is there similar request in API v4?
If you only have few usernames, you can manually check if [Mapillary URL]/app/user/[username] gives user pictures or error message.
And you may try the undocumented way:
https://graph.mapillary.com/graphql?access_token=[YOUR_MAPILLARY_TOKEN]&doc=query%20getData(%24username%3A%20String!)%20%7B%0A%20%20%20%20%20%20user_by_username(username%3A%20%24username)%20%7B%0A%20%20%20%20%20%20%20%20__typename%20created_at_seconds%20description%20id%20username%20stats%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20distance%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20km%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20__typename%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20images%0A%20%20%20%20%20%20%20%20%20%20%20%20__typename%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D&query=query%20getData(%24username%3A%20String!)%20%7B%0A%20%20user_by_username(username%3A%20%24username)%20%7B%0A%20%20%20%20__typename%0A%20%20%20%20created_at_seconds%0A%20%20%20%20description%0A%20%20%20%20id%0A%20%20%20%20username%0A%20%20%20%20stats%20%7B%0A%20%20%20%20%20%20distance%20%7B%0A%20%20%20%20%20%20%20%20km%0A%20%20%20%20%20%20%20%20__typename%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20images%0A%20%20%20%20%20%20__typename%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A&operationName=getData&variables=%7B%22username%22%3A%22[USERNAME_TO_CHECK]%22%7D
I get access denial (I have read, write and upload permission with my acess token)