{ "opencollection": "1.0.0", "info": { "name": "Unity Analytics Allocations Custom Data API", "version": "v1.0.0" }, "request": { "auth": { "type": "apikey", "key": "x-api-key", "value": "{{x-api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "Custom Data", "type": "folder" }, "items": [ { "info": { "name": "Set Protected Player Data", "type": "http" }, "http": { "method": "POST", "url": "https://analytics.services.api.unity.com/v1/data/projects/:projectId/players/:playerId/protected-items", "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "playerId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates protected data items that can only be written by the server but read by the player." }, { "info": { "name": "Set Public Player Data", "type": "http" }, "http": { "method": "POST", "url": "https://analytics.services.api.unity.com/v1/data/projects/:projectId/players/:playerId/public-items", "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "playerId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates public data items visible to all players in the game." } ] } ], "bundled": true }