Unity · Arazzo Workflow

Unity Cloud Save Publish Public Profile

Version 1.0.0

Write a server-protected stat, publish a public profile item, then read the player's data back.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Game DevelopmentReal-Time 3DMultiplayerGame ServicesCloud GamingArazzoWorkflows

Provider

unity

Workflows

cloudsave-publish-public-profile
Set protected and public player data, then read player data back.
Writes a protected data item, publishes a public data item, then reads the player's default data items to confirm.
3 steps inputs: accessToken, playerId, projectId, protectedKey, protectedValue, publicKey, publicValue outputs: defaultItems, protectedItems, publicItems
1
setProtected
Write a server-protected data item that only the server can modify but the player can read.
2
setPublic
Publish a public data item visible to all players in the game.
3
readDefault
Read the player's default-access data items back to confirm the player-scoped values.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Unity Cloud Save Publish Public Profile
  summary: Write a server-protected stat, publish a public profile item, then read the player's data back.
  description: >-
    Demonstrates the access-class controls in Unity Cloud Save. The workflow
    writes a server-protected data item that only the server can change but the
    player can read, publishes a public data item visible to all players, and
    reads the player's default data back to confirm the player-scoped values.
    Every step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: customDataApi
  url: ../openapi/unity-custom-data-api-openapi.yml
  type: openapi
- name: playerDataApi
  url: ../openapi/unity-player-data-api-openapi.yml
  type: openapi
workflows:
- workflowId: cloudsave-publish-public-profile
  summary: Set protected and public player data, then read player data back.
  description: >-
    Writes a protected data item, publishes a public data item, then reads the
    player's default data items to confirm.
  inputs:
    type: object
    required:
    - accessToken
    - projectId
    - playerId
    - protectedKey
    - protectedValue
    - publicKey
    - publicValue
    properties:
      accessToken:
        type: string
        description: Bearer JWT for the service account.
      projectId:
        type: string
        description: The Unity project identifier.
      playerId:
        type: string
        description: The player whose data is being written.
      protectedKey:
        type: string
        description: The key for the server-protected data item.
      protectedValue:
        description: The value for the protected data item.
      publicKey:
        type: string
        description: The key for the public data item.
      publicValue:
        description: The value for the public data item.
  steps:
  - stepId: setProtected
    description: >-
      Write a server-protected data item that only the server can modify but the
      player can read.
    operationId: setProtectedPlayerData
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: projectId
      in: path
      value: $inputs.projectId
    - name: playerId
      in: path
      value: $inputs.playerId
    requestBody:
      contentType: application/json
      payload:
        data:
        - key: $inputs.protectedKey
          value: $inputs.protectedValue
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      protectedItems: $response.body#/results
  - stepId: setPublic
    description: >-
      Publish a public data item visible to all players in the game.
    operationId: setPublicPlayerData
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: projectId
      in: path
      value: $inputs.projectId
    - name: playerId
      in: path
      value: $inputs.playerId
    requestBody:
      contentType: application/json
      payload:
        data:
        - key: $inputs.publicKey
          value: $inputs.publicValue
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      publicItems: $response.body#/results
  - stepId: readDefault
    description: >-
      Read the player's default-access data items back to confirm the
      player-scoped values.
    operationId: getPlayerData
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: projectId
      in: path
      value: $inputs.projectId
    - name: playerId
      in: path
      value: $inputs.playerId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      items: $response.body#/results
  outputs:
    protectedItems: $steps.setProtected.outputs.protectedItems
    publicItems: $steps.setPublic.outputs.publicItems
    defaultItems: $steps.readDefault.outputs.items

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/unity-cloudsave-publish-public-profile-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.