Environment variables
The following is a consolidated list of environment variables that this API can reference:
FTRACK_SERVERThe full url of the ftrack server to connect to. For example<https://mycompany.ftrackapp.com>FTRACK_API_USERThe username of the ftrack user to act on behalf of when performing actions in the system.
When this environment variable is not set, the API will typically also check other standard operating system variables that hold the username of the current logged in user. To do this it uses getpass.getuser.
-
FTRACK_API_KEYThe API key to use when performing actions in the system. The API key is used to determine the permissions that a script has in the system. -
FTRACK_APIKEYFor backwards compatibility. SeeFTRACK_API_KEY. -
FTRACK_EVENT_PLUGIN_PATHPaths to search recursively for plugins to load and use in a session. Multiple paths can be specified by separating with the value ofos.pathsep(e.g. ':' or ';'). -
FTRACK_API_SCHEMA_CACHE_PATHPath to a directory that will be used for storing and retrieving a cache of the entity schemas fetched from the server. -
HTTP_PROXY / HTTPS_PROXYIf you need to use a proxy to connect to ftrack you can use the "standard"HTTP_PROXYandHTTPS_PROXY. Please note that they are lowercase. For exampleexport HTTPS_PROXY=http://proxy.mycompany.com:8080