Skip to main content

Using review sessions

Client review sessions can either be queried manually or from a project.

review_sessions = session.query(
'ReviewSession where name is "Weekly review"'
)
project = session.query(
'ReviewSession where name is "Episode one"'
)
project_review_sessions = project['review_sessions']

To create a new review session on a specific project use Session.create.

  review_session = session.create('ReviewSession', {
'name': 'Weekly review',
'description': 'See updates from last week.',
'project': project
})

To add objects to a review session create them using Session.create and reference a review session and an asset version.

review_session_object = session.create('ReviewSessionObject', {
'name': 'Compositing',
'description': 'Fixed shadows.',
'version': 'Version 3',
'review_session': review_session,
'asset_version': asset_version
})

To list all objects in a review session.

  review_session_objects = review_session['review_session_objects']

Listing and adding collaborators to review session can be done using Session.create and the [review_session_invitees] relation on a review session.

invitee = session.create('ReviewSessionInvitee', {
'name': 'John Doe',
'email': 'john.doe@example.com',
'review_session': review_session
})
session.commit()

invitees = review_session['review_session_invitees']

To remove a collaborator delete the object using Session.delete.

session.delete(invitee)

To send out an invite email to a single collaborator use Session.send_review_session_invite in the Python API client, or call the send_review_session_invite action in the JavaScript API client.

session.send_review_session_invite(invitee)

Multiple invitees can have emails sent to them in one batch using Session.send_review_session_invites. Using the JavaScript API you can add an array of calls for the invite action.

session.send_review_session_invites(a_list_of_invitees)