(wsSlug, collSlug string, input models.CollectionUpdate)
| 185 | } |
| 186 | |
| 187 | func (c *Client) UpdateCollection(wsSlug, collSlug string, input models.CollectionUpdate) (*models.Collection, error) { |
| 188 | var result models.Collection |
| 189 | return &result, c.patch("/workspaces/"+wsSlug+"/collections/"+collSlug, input, &result) |
| 190 | } |
| 191 | |
| 192 | // DeleteCollection soft-deletes a collection by setting |
| 193 | // collections.deleted_at. Items in the collection are NOT cascaded; |
no test coverage detected