Jump to content

alexisp

Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

alexisp's Achievements

  1. Thanks for the quick answer, that is what I did and it's working fine ! My question was more about the "shadow" existence of "Collaborators". Now that I am aware of the "promotion" that is supposed to take place when user is created but his email is already in use as collaborator, I understand better why there is no mention or documentation about "Collaborators". This is intended to be an implementation detail ! Cheers, Alexis
  2. Hi, in a related topic, we are having trouble creating an account for a user because there already is a "collaborator" with his email address. After looking all over the API I finally was able to "see" this account, by doing a query over "Collaborator" type, but that does not help me create an account... Is there a Collaborator view somewhere ? Should I delete this collaborator through the API in order to be able to create a proper user ? Wont this break anything ? Thx for the help, Alexis Prayez
  3. That is a most helpful clarification, it all makes sense. Thanks a lot !
  4. Ah yes, I see ! It took a bit of playing around to manage that (as you cant grant access to a project that is not private yet). I will retry and let you know, but this means the "team" behavior is completely different between "open" and "private" mode ? Also I don't really get the difference between "project access" and "organize team". I dont get why do I have people in the team that dont appear in the access list ๐Ÿค” Thx, Alexis
  5. Hi, when typing "Project where" you are using the syntax to go look for projects of the "Project" table. What you actually want to filter is the "project" attribute of the Shots: my_shot = session.query('Shot where name is "my_shot" and project.name is "the_project"').first() # while we are at it the "like" syntax can be useful here to get all shots that starts with a given prefix # (but you should probably use a proper Folder/Sequence to organise your shots) # for exemple let's say shots from the SequenceA of my project are prefixed with "sqa" sqa_shots = session.query('Shot where name like "sqa%" and project.name is "the_project"')
  6. Okay so, I managed to create an "Appointment" object of type "allocation" session.create('Appointment', { 'context': ftrack_proj, 'resource': ftrack_user, 'type': 'allocation' }) But it does not show up in when I try to list the user of the project ๐Ÿค” for allocation in ftrack_proj['allocations']: resource = allocation['resource'] if isinstance(resource, session.types['User']): print(resource['username']) And when I switch the project to private, the "allocations" attributes becomes None ๐Ÿคจ I got to say the data model is a bit confusing here ๐Ÿ˜… Any tips ? ๐Ÿ™ƒ
  7. Hi, I'm trying to push users and user assignments from our internal system to ftrack. I'm probably missing something. Based on how it works for assigning users on tasks I'm tempted to do something like this, but obviously this is not it ๐Ÿ˜… session.create('Membership', { 'context': ftrack_project, 'resource': ftrack_user, 'type': 'membership' }) Any pointers ? Cheers, Alexis
  8. This is exactly what I needed ! I could not have come up with this by myself ๐Ÿค“ ! Thx @Lorenzo Angeli !
  9. Hi all, I'm trying to get my hands on the "shareable url" of a review session but cannot find any way to get it programatically. I know I can call send_review_session_invite to fire an email, but what I'm after is being able to send the invite to a specific channel/user in our messaging app (slack/rocket chat, mattermost etc...) and to do that I need the right url ! Is there some kind of hidden way to get/generate such url ? Or is limited to web interface ? Thx, Alexis
×
×
  • Create New...