MCPcopy Create free account
hub / github.com/compozy/agh / hooksBasePath

Function hooksBasePath

internal/cli/client.go:5721–5727  ·  view source on GitHub ↗
(workspaceRef string)

Source from the content-addressed store, hash-verified

5719}
5720
5721func 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
5729func networkChannelPath(workspaceRef string, channel string) (string, error) {
5730 base, err := networkBasePath(workspaceRef)

Callers 1

HookRunsMethod · 0.85

Calls 1

requireNetworkPathValueFunction · 0.85

Tested by

no test coverage detected