MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / logApis

Method logApis

plugins/core/log.go:9–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7)
8
9func (p *plugin) logApis() []pm3.Api {
10 return []pm3.Api{
11 pm3.CreateApiWidthDoc(http.MethodGet, "/api/v1/log/:driver", []string{"context", "rest:driver"}, []string{"info"}, p.logController.Get),
12 pm3.CreateApiWidthDoc(http.MethodPost, "/api/v1/log/:driver", []string{"context", "rest:driver", "body"}, nil, p.logController.Save),
13 }
14}

Callers 1

OnCompleteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected