noi-techpark / it.bz.opendatahub.api.mobility-ninja

The new home of the Open Data Hub Mobility API v2
Other
2 stars 0 forks source link

As Projektionisten I would like to have an alternative for the HTTP refererrer, so that we can track the usage of the mobility API on suedtirolmobil channels #38

Closed rcavaliere closed 9 months ago

rcavaliere commented 10 months ago

Reference issue: https://issues.opendatahub.com/Ticket/Display.html?id=14114

ohnewein commented 10 months ago

Time-Series API should implement the same parameters as Content API.

clezag commented 9 months ago

Implemented on ninja API, now up in testing.

Both referer and Referer are allowed. This is because Content API uses uppercase, but all other mobility parameters are lowercase.

@RudiThoeni will implement lowercase support as well, so both APIs behave the same.

RudiThoeni commented 9 months ago

i checked the lowercase support is already working

clezag commented 9 months ago

We decided that this will not be documented in swagger, but only in the wiki. The reasoning is that we don't want this to be misused, son only people who absolutely need it should use this feature. Both lowercase and uppercase will be supported.

clezag commented 9 months ago

I've updated the documentation here and removed the swagger documentation of the feature: https://github.com/noi-techpark/odh-docs/wiki/Http-Referer

rcavaliere commented 9 months ago

@clezag good, I have given indication to the Customer Care to reply to the ticket. I think we can close the user story here.