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

Consider 201 status code as success #284

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

v1ack
Copy link
Contributor

@v1ack v1ack commented Oct 4, 2024

No description provided.

@alanhamlett
Copy link
Member

alanhamlett commented Oct 5, 2024

I don't think we ever return 201 status from that endpoint, it's always 202.

@v1ack
Copy link
Contributor Author

v1ack commented Oct 5, 2024

But in API docs https://wakatime.com/developers#heartbeats it's 201 on post.
Am I misunderstanding the documentation?

@alanhamlett
Copy link
Member

I fixed the docs, they were wrong.

@alanhamlett alanhamlett merged commit 0a4082e into wakatime:master Oct 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants