matrix-org / matrix-org/matrix-hookshot
Feature: Edit previously sent generic webhook message (support "PATCH" request type)
- Dominant language
- TypeScript
- Stars
- 450
- Forks
- 95
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 23
Description
Discord webhooks have [a neat feature](https://docs.discord.com/developers/resources/webhook#edit-webhook-message) where you can edit a previously sent webhook later on by sending a "PATCH" request type.
Basically, after you do an initial "POST" webhook, the server will return an `id` field. You can then use this id when sending a PATCH to update the previously sent message.
Contributor guide
Research direction
Start by tracing the existing generic webhook flow from its initial POST and identify where the returned id is handled. Then determine how a PATCH request can use that id to update the previously sent message. Done means a previously sent generic webhook message can be edited through the documented Discord webhook behavior, with the existing flow still working.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100