From e14d4ddec688629aa38b520fc5bafb01f0255f53 Mon Sep 17 00:00:00 2001 From: Jeff Bradberry Date: Fri, 27 Sep 2019 10:44:49 -0400 Subject: [PATCH] Add a doc template to the webhook key API view --- awx/api/templates/api/webhook_key_view.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 awx/api/templates/api/webhook_key_view.md diff --git a/awx/api/templates/api/webhook_key_view.md b/awx/api/templates/api/webhook_key_view.md new file mode 100644 index 0000000000..e63dcef730 --- /dev/null +++ b/awx/api/templates/api/webhook_key_view.md @@ -0,0 +1,11 @@ +Webhook Secret Key: + +Make a GET request to this resource to obtain the secret key for a job +template or workflow job template configured to be triggered by +webhook events. The response will include the following fields: + +* `webhook_key`: Secret key that needs to be copied and added to the + webhook configuration of the service this template will be receiving + webhook events from (string, read-only) + +Make an empty POST request to this resource to cycle in a new `webhook_key`.