@julian Unfortunately, there are a ton of conflicting variations on this pattern. Some APIs use a Unix timestamp for the reset datetime (!), others use HTTP header values. Mastodon uses an ISO 8601 datetime.

The X-RateLimit-* headers also don't work well if there are multiple quota policies. That can happen if there are particular types of requests that are under a stricter quota than others. There are some variants that APIs use, but they're specific to the platform.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://cosocial.ca/users/evan/statuses/116275124154956660 on your instance and quote it. (Note that quoting is not supported in Mastodon.)