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

Method listForService

service/api/iml.go:304–306  ·  view source on GitHub ↗
(ctx context.Context, serviceId string, isDelete bool)

Source from the content-addressed store, hash-verified

302 return utils.SliceToSlice(list, FromEntity), nil
303}
304func (i *imlAPIService) listForService(ctx context.Context, serviceId string, isDelete bool) ([]*api.API, error) {
305 return i.store.ListQuery(ctx, "service=? and is_delete=?", []interface{}{serviceId, isDelete}, "id")
306}
307func (i *imlAPIService) ListLatestCommitProxy(ctx context.Context, apiUUID ...string) ([]*commit.Commit[Proxy], error) {
308
309 return i.proxyCommitService.ListLatest(ctx, apiUUID...)

Callers 1

ListForServiceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected