(wsSlug string, input models.CollectionCreate)
| 192 | } |
| 193 | |
| 194 | func (c *Client) CreateCollection(wsSlug string, input models.CollectionCreate) (*models.Collection, error) { |
| 195 | var result models.Collection |
| 196 | return &result, c.post("/workspaces/"+wsSlug+"/collections", input, &result) |
| 197 | } |
| 198 | |
| 199 | func (c *Client) GetCollection(wsSlug, collSlug string) (*models.Collection, error) { |
| 200 | var result models.Collection |