Skip to content

Commit 9377471

Browse files
authored
add statusHook to redirect (#103)
1 parent b0b4365 commit 9377471

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

fern/docs/pages/verbs/redirect.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ All actions after `redirect` are unreachable and ignored.
1111
{
1212
"verb": "redirect",
1313
"actionHook": "/connectToSales",
14+
"statusHook": "https://example.com/newStatus"
1415
}
1516
```
1617

@@ -20,6 +21,10 @@ All actions after `redirect` are unreachable and ignored.
2021
URL of webhook to retrieve a new application from.
2122
</ParamField>
2223

24+
<ParamField path="statusHook" type="string" required={false}>
25+
URL of webhook to send status messages to
26+
</ParamField>
27+
2328
Where the actionHook url is a full url eg `https://example.com/connectToSales` Jambonz will update the base URL used for the call so any futher actionHooks that contain relative urls will use the new base.
2429

25-
This has no effect on the statusHook which will continue to use the value configured in the application.
30+
If the statusHook is updated then the previous endpoint will not recieve any further events, like the actionHook this can be a relative path or a full URL

0 commit comments

Comments
 (0)