Repository navigation
Add Collections API - #455
Merged
Merged
Conversation
Add `cloudinary.collections` to organize assets into collections and share them through public pages. - Collections: `collections`, `collection`, `create_collection`, `update_collection`, `delete_collection` - Assets: `collection_assets`, `add_collection_assets`, `remove_collection_assets` - Public pages: `collection_public_pages`, `collection_public_page`, `create_collection_public_page`, `update_collection_public_page`, `delete_collection_public_page` See `cloudinary/docs/organize-and-share-collections.md`. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
cloudinary.collectionsto organize assets into collections and share them through public pages.collections,collection,create_collection,update_collection,delete_collectioncollection_assets,add_collection_assets,remove_collection_assetscollection_public_pages,collection_public_page,create_collection_public_page,update_collection_public_page,delete_collection_public_pageAlso in this PR:
NotAcceptable(406) andLocked(423). Any other unmapped HTTP status now raisescloudinary.exceptions.Errorinstead of a plainException.messageinstead of anerrorobject now raise.Docs:
cloudinary/docs/organize-and-share-collections.md, with a runnable example inexamples/organize-and-share-collections.py.Testing
test/test_collections.pycover every method, the error handling, and OAuth requests.python -m pytest testsuite has not been run yet.🤖 Generated with Claude Code