feat(webhooks): query arguments for vote webhooks#10
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the webhook events documentation in webhooks/events.mdx to include the new data.query object, which contains parsed query parameters appended to the vote page URL. A review comment was received pointing out a grammatical issue (a comma splice and capitalization error) in the description of data.query and providing a suggestion to improve readability.
| | `data.project.type` | string | Project type (`"bot"` or `"server"`) | | ||
| | `data.project.platform` | string | Platform (always `"discord"`) | | ||
| | `data.project.platform_id` | string | Discord client ID of the bot or guild ID of the server | | ||
| | `data.query` | object | Parsed query parameters appended to the `/:id/vote` page URL, For example, `/:id/vote?key1=value&key2=value2` sends the parsed query arguments in `data.query`. | |
There was a problem hiding this comment.
There is a comma splice and a capitalization error in the description of data.query. It should use a period to separate the two independent clauses for better readability.
| `data.query` | object | Parsed query parameters appended to the `/:id/vote` page URL. For example, `/:id/vote?key1=value&key2=value2` sends the parsed query arguments in `data.query`. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
No description provided.