MCPcopy Create free account
hub / github.com/anchordotdev/cli / getServiceAttachmentsPath

Function getServiceAttachmentsPath

api/api.go:126–128  ·  view source on GitHub ↗
(orgAPID, serviceAPID string)

Source from the content-addressed store, hash-verified

124}
125
126func getServiceAttachmentsPath(orgAPID, serviceAPID string) string {
127 return fmt.Sprintf("/orgs/%s/services/%s/attachments", url.QueryEscape(orgAPID), url.QueryEscape(serviceAPID))
128}
129
130func (s *Session) GetServiceAttachments(ctx context.Context, orgAPID string, serviceAPID string) ([]Attachment, error) {
131 var attachments Attachments

Callers 1

GetServiceAttachmentsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected