bluebrown / kobold

update container image references, based on webhook events
BSD 3-Clause "New" or "Revised" License
16 stars 6 forks source link

use path parameter for channel name #39

Closed bluebrown closed 6 months ago

Archisman-Mridha commented 6 months ago

Issue description

Currently webhook events are received at /events and the channel name is present as a query parameter in the URL.

Query parameters are generally used for optional parameters. So, we want to switch to path parameters.

Webhook events should be received at /events/<channel-name>.So, the channel name will be present as path parameter instead.

[!NOTE] The query parameter option will still be available for backwards compatibility, but it'll be marked as deprecated.