From e0058a23053732f96e7daf71191851968b97cbb6 Mon Sep 17 00:00:00 2001 From: Michael Laszloffy Date: Tue, 27 Feb 2024 12:37:20 -0500 Subject: [PATCH] Update plugin guide to reference correct consumable-resource endpoint (#361) --- plugin-guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin-guide.md b/plugin-guide.md index 6179b1a2..c6c6e298 100644 --- a/plugin-guide.md +++ b/plugin-guide.md @@ -238,10 +238,10 @@ shutdown. All the configuration parameters for the inner consumable resource are unmodified, so this is not a workflow-run visible change. To add or remove workflow run IDs to the allow list, send an HTTP `POST` or `DELETE` request to -`/consumable-resources/`_name_`/allowed/`_run_ where _name_ is the consumable +`/consumable-resource/`_name_`/allowed/`_run_ where _name_ is the consumable resource name and _run_ is the workflow run ID. The current list can be retrieved by making a `GET` request to -`/consumable-resources/`_name_`/allowed`. +`/consumable-resource/`_name_`/allowed`. As an example, suppose you wish to have a max-in-flight, but want to run something urgent. The configuration would look like: