MCPcopy
hub / github.com/apache/devlake / ListScopeConfigs

Method ListScopeConfigs

backend/test/helper/api.go:291–298  ·  view source on GitHub ↗
(pluginName string, connectionId uint64)

Source from the content-addressed store, hash-verified

289}
290
291func (d *DevlakeClient) ListScopeConfigs(pluginName string, connectionId uint64) []any {
292 return sendHttpRequest[[]any](d.testCtx, d.timeout, &testContext{
293 client: d,
294 printPayload: true,
295 inlineJson: false,
296 }, http.MethodGet, fmt.Sprintf("%s/plugins/%s/connections/%d/scope-configs?pageSize=20&page=1",
297 d.Endpoint, pluginName, connectionId), nil, nil)
298}
299
300func (d *DevlakeClient) GetScopeConfig(pluginName string, connectionId uint64, scopeConfigId uint64) any {
301 return sendHttpRequest[any](d.testCtx, d.timeout, &testContext{

Callers

nothing calls this directly

Calls 1

sendHttpRequestFunction · 0.85

Tested by

no test coverage detected