[Type 1] Add support for API method Update a Webhook

Open
#1,135 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
api

Research direction

Start with the webhook_item model and the existing webhook API methods, then compare their behavior with Tableau’s REST update_webhook documentation. Expose the update operation and the requested webhook attributes, and review how the webhook event attribute should replace the deprecated webhook-source element. Done means webhook management supports re-enabling and updating existing webhooks consistently with the REST API.

Written by the indexing model from the issue text.

Description

enhancement gap in-progress

Description

Tableau REST API provides a method to modify the properties of an existing webhook which is not currently exposed through TSC:
https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref.htm#update_webhook

This method is useful for easily re-enabling webhooks when they get disabled after four failed re-tries.

Consider surfacing additional webhook attributes like isEnabled and statusChangeReason as a part of webhook_item model to better support webhook management.

As per note in Tableau REST API documentation review TSC code to use the event attribute of the webhook to specify the triggering API event for the webhook as the webhook-source element is being deprecated in future versions of Tableau webhooks.

Dominant language
Python
Stars
716
Forks
446
Avg merge
8d 8h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tableau/server-client-python

All issues in tableau/server-client-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.