posthog
posthog copied to clipboard
API don't match with Documentation
Bug description
I try to get events with API and use this documentation article (https://posthog.com/docs/api/events). Reply from API don't match with Documentation and seems broken.
Documentation for List all events
How to reproduce
- Call method
https://app.posthog.com/api/projects/<project id>/events
Actual result

Server didn't return previous
and count
properties. Link for next page don't contain limit
and offset
params (it use before
for pagination)
Expected result
Server return previous
and count
properties. And next
property is correct (use limit
and offset
for pagination).
Environment
- [x] PostHog Cloud
- [ ] self-hosted PostHog, version/commit: please provide
Nice documentations.... This functionality is just missing in code 👍
