Releases: syncsketch/python-api
get_projects new param include_connections
new param available for get_projects method.
s.get_projects(include_connections=True) will include user info for all connections on each project.
Get storage usage for Project or Review
New endpoint methods to retrieve the storage usage for Projects and Reviews.
get_project_storage(project_id)
get_review_storage(review_id)
Response:
{
"storage": 123456789
}
Response value is in bytes.
Enjoy!
Fetch project tags with projects
You can now request project tags in the get_projects() endpoint.
get_projects(include_deleted=False, include_archived=False, include_tags=False, limit=100, offset=0)
Bug fixes:
Fixed the sync shotgun review items endpoint.
Move Review Items
Add new method to move items from one review to another.
Example call:
new_review_id = 123
old_review_id = 100
item_id = 1234
s.move_items(new_review_id, [ { "review_id": old_review_id, "item_id": item_id } ] )
Getting User Connections
Added function to query user connections by user and account id
New API Endpoints
We released new endpoints
- Get project/account connections for specific user
- Get all users in a workspace
- Allow passing limit/offset in get_projects
- Allow passing limit/offset in get_reviews_by_project_id
- Duplicate Project
Bug fixes
Get user by name fix
Get user by email
Fix flattened annotations method
Fixed an issue with downloading the flattened annotations.
Now on pypi! New api methods
We are now on pypi.
You can now use pip install syncsketch to get the newest version.
Updated the method naming format to comply with pep8
We now use snake casing on all methods. Existing methods have been monkey patched to preserve existing scripts.
In v2 we will deprecate the old camelCase method names. please update your code when you can.
Added new methods:
- update_account
- update_project
- delete_project
- archive_project
- restore_project
- update_review
- delete_review
- delete_item
- bulk_delete_items
Greasepencil cleanup
v1.0.7.8 remove print statements
Fix Greasepencil download
v1.0.7.7 Fix greasepencil download