Luigi Posted October 24, 2017 Report Share Posted October 24, 2017 Since I need at the moment to ask you almost every day about queries, since I do not know what I can query, where I can query and how I can query... I was wandering if you have a command/query database like the maya on http://help.autodesk.com/cloudhelp/2018/CHS/Maya-Tech-Docs/Commands/ ...so that I would be able to check all the possibilities (e.g. at the moment I do not know how to query a latest version or who published what, etc.) If not it would be cool to have one. Thanks! Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted October 25, 2017 Report Share Posted October 25, 2017 Indeed and I agree with you, thank you for the request. We discussed this yesterday - that there is no really good place of seeing examples and info on how to do complex queries Link to comment Share on other sites More sharing options...
Luigi Posted October 26, 2017 Author Report Share Posted October 26, 2017 and do you have at least a "bad" place of seeing examples (apart of the docs) so that I do not need to annoying you with query requests for now? or a different channel? Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted October 27, 2017 Report Share Posted October 27, 2017 The query language itself is explained here: http://help.ftrack.com/developing-with-ftrack/api/query-syntax and here http://ftrack-python-api.rtd.ftrack.com/en/stable/querying.html. For general examples you can look here: http://ftrack-python-api.rtd.ftrack.com/en/stable/example/index.html The problem is that a lot of the information on what relations are available on objects are quite hard to find, and one of the best options is to inspect the type in the api: session.types['User'].attributes.keys() Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.