capabilities.work

Cloud Code Deploy and Run

A 3-step recipe with Unity. We can help you get access.

Recipe · 3 steps

Cloud Code Deploy and Run

with Unity

Create a Cloud Code script, verify deployment, and execute it.

  1. Create a new JavaScript Cloud Code script with the supplied name and code.
  2. Read the script back to confirm it deployed and to surface its active version.
  3. Execute the script with the supplied parameters and capture its output.
What you'll need to have ready
  • accessToken: Bearer JWT for the service account deploying the script.
  • projectId: The Unity project identifier.
  • scriptName: Unique name for the script within the project.
  • code: The JavaScript code for the script.
  • runParams: Parameters to pass to the script at execution time.
For your developer

Arazzo workflow unity:cloudcode-deploy-and-run, 3 operations: createScript → getScript → runScript. Specs on APIs.io.