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

Function PutScopes

backend/plugins/tapd/api/scope_api.go:43–45  ·  view source on GitHub ↗

PutScope create or update tapd job @Summary create or update tapd job @Description Create or update tapd job @Tags plugins/tapd @Accept application/json @Param connectionId path int false "connection ID" @Param scope body PutScopesReqBody true "json" @Success 200 {object} []models.TapdWorkspace @Fa

(input *plugin.ApiResourceInput)

Source from the content-addressed store, hash-verified

41// @Failure 500 {object} shared.ApiBody "Internal Error"
42// @Router /plugins/tapd/connections/{connectionId}/scopes [PUT]
43func PutScopes(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
44 return dsHelper.ScopeApi.PutMultiple(input)
45}
46
47// UpdateScope patch to tapd job
48// @Summary patch to tapd job

Callers

nothing calls this directly

Calls 1

PutMultipleMethod · 0.80

Tested by

no test coverage detected