Skip to content

API endpoint /users/{user_id#} ignores case #59

Description

@britiger

The API is case insensiitve, usernames in osm are case-sensitive. So I can't access my stats:
https://osm-stats-production-api.azurewebsites.net/users/Christopher

I always get stats from user christopher (lower-case), my username has a capital letter at begining.

This problem I found while try to get my stats on missingmaps. There are more useres which have this problem, see also MissingMaps/missingmaps.github.io#413

While calling the API for hashes I can found my username in it: https://osm-stats-production-api.azurewebsites.net/top-users/bikeparking

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions