(workspaceRef string)
| 5719 | } |
| 5720 | |
| 5721 | func hooksBasePath(workspaceRef string) (string, error) { |
| 5722 | workspaceRef, err := requireNetworkPathValue("workspace_id", workspaceRef) |
| 5723 | if err != nil { |
| 5724 | return "", err |
| 5725 | } |
| 5726 | return "/api/workspaces/" + url.PathEscape(workspaceRef) + "/hooks", nil |
| 5727 | } |
| 5728 | |
| 5729 | func networkChannelPath(workspaceRef string, channel string) (string, error) { |
| 5730 | base, err := networkBasePath(workspaceRef) |
no test coverage detected