torekings.blogg.se

Shotbot api
Shotbot api








  1. #SHOTBOT API CODE#
  2. #SHOTBOT API PASSWORD#

The grant type refresh_token allows for a new access token to be generated based on prior authentication. */ function get_access_token ( grant_type ) Script_key - the api script key for the script_name Grant_type - the OAuth2 grant type being used Postman Pre-request script Select JavaScript at the top. You will have to repeat the above steps to refresh your token as needed. Note: These tokens are only good for a fixed period of time (as determined by a site preference). Click on Use Token to start being able to use the API. You should see a dialog like the one below that displays the resulting token. In the resulting dialog click on Request Token.ĩ. Go to the authorization tab of the collection dialog and click on Get New Access Token.Ĩ. To do this click on the ellipse (".") menu next to the collection and pick edit.ħ. Now that credentials are available via the environment, we will use them to get an authentication token the API will use to talk to your ShotGrid site.

#SHOTBOT API PASSWORD#

With the new Sessions feature in Postman you can avoid this by not storing your password as the 'initial' value and only setting it as the 'current' value.ĥ.Select the environment you just created as the active environment.Ħ. The password you set here will be stored in plain text, so make sure to take extra care when storing or sharing your collection or environment. Fill out the values with the account you want to connect as. Add a new environment and add keys for host, login, and password.Start by clicking on the gear icon in the upper right of Postman to manage environments. To connect to ShotGrid, we need to setup an environment that has the site, login, and password to use.For general information on developing for ShotGrid, you can read the documentation on our developer site. This is the reference document for ShotGrid's REST API.

shotbot api

#SHOTBOT API CODE#

Select a language for code samples from the tabs above or the mobile navigation menu.

  • Once Postman launches, you should have ShotGrid REST API v1 in your collections. Scroll down for code samples, example requests and responses.
  • If you are shown download options, pick the native client.
  • Download Postman and the collection for the ShotGrid REST API using the button above.
  • Use the button and instructions below to get started with the API. We have made it easy to use Postman to play with the API. Setting up a development environment Setting up Postman










    Shotbot api