MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / CreateCollection

Method CreateCollection

internal/cli/client.go:311–314  ·  view source on GitHub ↗
(wsSlug string, input models.CollectionCreate)

Source from the content-addressed store, hash-verified

309}
310
311func (c *Client) CreateCollection(wsSlug string, input models.CollectionCreate) (*models.Collection, error) {
312 var result models.Collection
313 return &result, c.post("/workspaces/"+url.PathEscape(wsSlug)+"/collections", input, &result)
314}
315
316func (c *Client) GetCollection(wsSlug, collSlug string) (*models.Collection, error) {
317 var result models.Collection

Calls 1

postMethod · 0.95