List organization events for the authenticated user endpoint only returns 45 items #168509
Replies: 1 comment
-
Hi, I’ve noticed similar issues myself. From what I understand, a few things might be at play here: This endpoint uses pagination by default and might only return the first 45 items unless you specify page and per_page parameters to fetch more. Some event types or permission settings could prevent certain events from being included in the response. The delay you’re seeing might be due to how GitHub processes and updates event data, which can be slower for larger organizations. In short, I’d recommend checking the pagination parameters and trying to fetch multiple pages. But it’s also important to keep in mind that not all events may be available through the API immediately or at all. Hope this helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I have several problems with this endpoint (
/users/:user/events/orgs/:org
):I followed this documentation and tried to access the API with a fine-grained and a classic token with the same result.
My understanding is that this endpoint is supposed to list all events happening in the organization the user has access to. Funny thing is that none of my own events are listed. I found two other users with similar problems (from 2022), but without answers:
Beta Was this translation helpful? Give feedback.
All reactions