shotgun.actions#
A list of ShotGrid specific actions.
Functions:
|
Creates a new ShotGrid entity linked to the currently active project. |
|
Creates a new ShotGrid entity linked to the currently active project. |
|
Creates a new PublishedFile entity on ShotGrid. |
|
Add a new Version entity to ShotGrid. |
|
Returns a list of status codes available in the current context. |
|
Save the selected entity data to the Bookmark Database. |
|
Upload a movie file for the given version. |
|
Uploads an item thumbnail to shotgun. |
- bookmarks.shotgun.actions.create_entity(entity_type, entity_name, request_data=None, create_data=None, verify_bookmark=True, verify_all=False)[source]#
Creates a new ShotGrid entity linked to the currently active project.
- bookmarks.shotgun.actions.create_project(server, job, root, entity_name)[source]#
Creates a new ShotGrid entity linked to the currently active project.
- bookmarks.shotgun.actions.create_published_file(sg, version_entity, name, file_name, file_path, version, description, project_entity, asset_entity, user_entity, task_entity, published_file_type_entity, local_storage_entity)[source]#
Creates a new PublishedFile entity on ShotGrid.
The data structure was taken from the ShotGrid API documentation https://developer.shotgunsoftware.com/tk-core/_modules/tank/util/shotgun/publish_creation.html#register_publish
- bookmarks.shotgun.actions.create_version(sg, file_name, file_path, version_movie, version_sequence, version_cache, description, project_entity, asset_entity, task_entity, user_entity, status_entity)[source]#
Add a new Version entity to ShotGrid.
- bookmarks.shotgun.actions.get_status_codes(sg)[source]#
Returns a list of status codes available in the current context.
- bookmarks.shotgun.actions.save_entity_data_to_db(server, job, root, source, table, entity, value_map)[source]#
Save the selected entity data to the Bookmark Database.