collections
Add item
Changed onAdd an item to a collection
post/api/collections/{namespace}/{slug}/items
Request
- Base URL: https://huggingface.co
- URL: https://huggingface.co/api/collections/{namespace}/{slug}/items
- Auth: HTTP bearer
Path parameters
namespacestring required
slugstring required
Request body
Response
The updated collection
Changes
- info
added
subschema #2subschema #3to the/response propertyanyOflist for the response status - info
removed
subschema #2subschema #3from the/response propertyanyOflist for the response status
- info
- warning
added the new
agentenvenum value to the/////response property for the response status
- warning