Unity · Example Payload

Unity Cloud Save Set Player Data Example

Example showing how to persist multiple player data items to the cloud including game progress and equipment.

Game DevelopmentReal-Time 3DMultiplayerGame ServicesCloud Gaming

Unity Cloud Save Set Player Data Example is an example object payload from Unity, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

summarydescriptionrequestresponse

Example Payload

Raw ↑
{
  "summary": "Save player game progress to cloud",
  "description": "Example showing how to persist multiple player data items to the cloud including game progress and equipment.",
  "request": {
    "method": "POST",
    "path": "/v1/data/projects/{projectId}/players/{playerId}/items",
    "headers": {
      "Authorization": "Bearer {access_token}",
      "Content-Type": "application/json"
    },
    "body": {
      "data": [
        {
          "key": "player_level",
          "value": 15
        },
        {
          "key": "player_xp",
          "value": 45200
        },
        {
          "key": "equipped_weapon",
          "value": "SWORD_OF_FIRE"
        },
        {
          "key": "completed_quests",
          "value": ["quest_001", "quest_002", "quest_007"]
        }
      ]
    }
  },
  "response": {
    "status": 200,
    "body": {
      "results": [
        {
          "key": "player_level",
          "value": 15,
          "writeLock": "lock_abc",
          "created": "2026-01-01T00:00:00Z",
          "modified": "2026-05-03T12:00:00Z"
        },
        {
          "key": "player_xp",
          "value": 45200,
          "writeLock": "lock_def",
          "created": "2026-01-01T00:00:00Z",
          "modified": "2026-05-03T12:00:00Z"
        },
        {
          "key": "equipped_weapon",
          "value": "SWORD_OF_FIRE",
          "writeLock": "lock_ghi",
          "created": "2026-05-03T12:00:00Z",
          "modified": "2026-05-03T12:00:00Z"
        },
        {
          "key": "completed_quests",
          "value": ["quest_001", "quest_002", "quest_007"],
          "writeLock": "lock_jkl",
          "created": "2026-01-15T00:00:00Z",
          "modified": "2026-05-03T12:00:00Z"
        }
      ]
    }
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example 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 example
curl "https://apis.io/api/v1/examples/unity-cloud-save-set-player-data-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

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

Get an API key

Free tier, no email required.

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