1
submitted 1 year ago by blawsybogsy@lemmy.ml to c/lemmydev@lemm.ee

The Limit property is just a number, but it is different for different API endpoints. I'd like to have a list of the different values so i can easily stay within the max for each endpoint. Are the values documented somewhere? From the official js-client docs site, not even a given endpoint documents its maximum.

top 1 comments
sorted by: hot top controversial new old
[-] Cr4yfish@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

I JUST FOUND IT!!! https://join-lemmy.org/api/interfaces/LocalSiteRateLimit.html

Every instance sets own rates limit. You can get ALL RATE LIMITS for a specific instance through that enpoint.

Edit: When finding something in the docs you were looking for feels like an accomplishment, something's wrong with the docs :D.

Here's an example for Lemmy.world:

this post was submitted on 30 Jun 2023
1 points (100.0% liked)

Lemmy App Development

711 readers
2 users here now

A place for Lemmy builders to chat about building apps, clients, tools and bots for the Lemmy platform.

On-Topic:

Off-Topic:

founded 1 year ago
MODERATORS