Better help for users
1 1

4 posts in this topic

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!

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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()

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1