newWebhook POST method missing git_ref_pattern argument
Bug #2037304 reported by
Giuseppe Barbieri
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
New
|
Undecided
|
Ines Almeida |
Bug Description
Recently webhooks introduced the git_ref_pattern field, a pattern to match against git-ref/branch name of an event, to filter webhook triggers.
The field is available in the webhook object and marked as writable, however it appears to not be exposed in the addWebhook method available for git_repositories.
When calling:
repo.newWebhook
it returns:
ValueError: Unrecognized parameter(s): 'git_ref_pattern'
Should this field be made optionally available?
Changed in launchpad: | |
assignee: | nobody → Ines Almeida (ines-almeida) |
tags: | added: api |
To post a comment you must log in.