MCPcopy Create free account
hub / github.com/apache/devlake / PostScopeConfig

Function PostScopeConfig

backend/plugins/tapd/api/scope_config_api.go:36–38  ·  view source on GitHub ↗

CreateScopeConfig create scope config for Tapd @Summary create scope config for Tapd @Description create scope config for Tapd @Tags plugins/tapd @Accept application/json @Param connectionId path int true "connectionId" @Param scopeConfig body models.TapdScopeConfig true "scope config" @Success 200

(input *plugin.ApiResourceInput)

Source from the content-addressed store, hash-verified

34// @Failure 500 {object} shared.ApiBody "Internal Error"
35// @Router /plugins/tapd/connections/{connectionId}/scope-configs [POST]
36func PostScopeConfig(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
37 return dsHelper.ScopeConfigApi.Post(input)
38}
39
40// UpdateScopeConfig update scope config for Tapd
41// @Summary update scope config for Tapd

Callers

nothing calls this directly

Calls 1

PostMethod · 0.65

Tested by

no test coverage detected