![]() Update the work schedule for a given date. Return the work day rules for a given date range. Update a Project’s last_accessed_by_current_user field to the current timestamp. Search across the specified entity types for the given text. Return the full conversation for a given note, including Replies and Attachments. Summarize field data returned by a query. Make a batch request of several create(), update(), and delete() calls. Revive an entity that has previously been deleted. Update the specified entity with the supplied data. Shortcut for find() with limit=1 so it returns a single result. Get API-related metadata from the Shotgun server.Ĭreate a new entity of the specified entity_type.įind entities matching the given filters. Set the browser session_uuid in the current Shotgun API instance. Set up urllib2 with a cookie for authentication on the Shotgun instance. Get the session token associated with the current session. The documentation for all of the methods you’ll need in your scripts lives in here.Ĭonnection & Authentication nnectĬonnect client to the server if it is not already connected.Ĭlose the current connection to the server. The majority of functionality is contained within the Shotgun class. If provided, then login and password mustīe provided as well, and neither script_name nor api_key can be provided. The authentication token required to authenticate to a server with You can retrieve the session token by running the ThisĬan be used as an alternative to authenticating with a script user or regular user. The session token to use to authenticate to the server. Script or user that is actually authenticated. Event log entries will be generated showing this user performing allĪctions with an additional extra meta-data parameter sudo_actual_user indicating the sudo_as_login ( str) – A user login string for the user whose permissions will be applied. ![]() If provided, then login must be as well and neither script_name The password str to use to authenticate to the server when using user-basedĪuthentication. If provided, then password must be as well, and neither ![]() The user login str to use to authenticate to the server when using user-basedĪuthentication. In the case both are set, this parameter will take precedence. You can do this by passing in the full path to theįile via this parameter or by setting the environment variable SHOTGUN_API_CACERTS. Internal CA, or are packaging an application into an executable, it may be necessary to ![]() Shotgun API will use its own built-in certificates file which stores root certificatesįor the most common Certificate Authorities (CAs).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |