Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API don't match with Documentation #13508

Closed
1 of 2 tasks
hit2hat opened this issue Dec 29, 2022 · 3 comments
Closed
1 of 2 tasks

API don't match with Documentation #13508

hit2hat opened this issue Dec 29, 2022 · 3 comments
Labels
bug Something isn't working right stale

Comments

@hit2hat
Copy link

hit2hat commented Dec 29, 2022

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
image

How to reproduce

  1. Call method https://app.posthog.com/api/projects/<project id>/events

Actual result

image

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

  • PostHog Cloud
  • self-hosted PostHog, version/commit: please provide
@hit2hat hit2hat added the bug Something isn't working right label Dec 29, 2022
@hit2hat
Copy link
Author

hit2hat commented Dec 29, 2022

Nice documentations.... This functionality is just missing in code 👍

image

@posthog-bot
Copy link
Contributor

This issue hasn't seen activity in two years! If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in two weeks.

@posthog-bot
Copy link
Contributor

This issue was closed due to lack of activity. Feel free to reopen if it's still relevant.

@posthog-bot posthog-bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants