Okapi Okapi

/statistics/* → endpoint removal

statistics.short.io

Deprecated, no date

The query parameter tzOffset on /statistics/* endpoints has been deprecated without a shutdown date. Calls continuing to use tzOffset will eventually fail once the removal takes effect.


Calls it hits

  • /statistics/*
  • query parameter tzOffset

What to use instead of these calls

Send tz with an IANA timezone name, such as tz=Europe/Berlin, instead of tzOffset in minutes.

In statistics.short.io's words

Previously, we supported timezones by providing tzOffset parameter (offset in minutes). This parameter is deprecated now. Please provide tz parameter with timezone name.

statistics.short.io, Announcement

Facts

API
statistics.short.io statistics.short.io
Kind
Endpoint removal
Announced
March 7, 2024
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against statistics.short.io's own pages

Questions

When does this change take effect?

statistics.short.io deprecated /statistics/*, query parameter tzOffset without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: statistics.short.io has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub