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

Webhooks docs update #85

Merged
merged 4 commits into from
Sep 22, 2022
Merged

Conversation

SleepyLili
Copy link
Contributor

When working on my bot, I noticed the webhooks docs were a little outdated.

I updated the example jsons to include new fields that they now have, fixed their indentation, and included a new VISIBILITY-UPDATE example since the json is now completely different from the old docs.

I also did some updates on the wording on the page -- tried to fix capitalization/punctuation mistakes, and then update the sentences to be more readable. I'm not 100% happy with all the changes I made, so they don't need to be included if you don't like them. (Or if anyone has an idea on how to further improve them...)

changed some sentences for (hopefully) more clarity
changed `eventType` to "event Type" (no `eventType` in any of the code)
fixed capitalization, punctuation, and removed unnecessary hyphens.
"previousNames": ["lazyDaisy"]
"previousNames": ["lazyDaisy"],
"nameChangedAt": "2022-09-19T12:33:59.42313245+02:00",
"isBot": False,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how the f in False got capitalized, but could you fix that up for all of them?

@gabek
Copy link
Member

gabek commented Sep 21, 2022

Yeah, it looks good aside from the rogue capitals in the JSON examples.

I find the changes to be completely readable, thank you for taking some time to polish it up! This kind of stuff really makes a difference when people are trying to implement APIs, as I'm sure you discovered when doing it yourself :)

@SleepyLili
Copy link
Contributor Author

good catch with the capitalization, fixed it.

@gabek
Copy link
Member

gabek commented Sep 22, 2022

Thank you so much! 🥇

@gabek gabek merged commit da1eeaa into owncast:master Sep 22, 2022
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