{ "opencollection": "1.0.0", "info": { "name": "Unity Analytics Allocations Player Data API", "version": "v1.0.0" }, "request": { "auth": { "type": "apikey", "key": "x-api-key", "value": "{{x-api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "Player Data", "type": "folder" }, "items": [ { "info": { "name": "Get Player Data", "type": "http" }, "http": { "method": "GET", "url": "https://analytics.services.api.unity.com/v1/data/projects/:projectId/players/:playerId", "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "playerId", "value": "", "type": "path" }, { "name": "keys", "value": "", "type": "query", "description": "Filter by specific keys" } ] }, "docs": "Returns all data items stored for the specified player." }, { "info": { "name": "Set Player Data Items", "type": "http" }, "http": { "method": "POST", "url": "https://analytics.services.api.unity.com/v1/data/projects/:projectId/players/:playerId/items", "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "playerId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates one or more key-value data items for a player. Supports optimistic concurrency via write locks." }, { "info": { "name": "Delete Player Data Item", "type": "http" }, "http": { "method": "DELETE", "url": "https://analytics.services.api.unity.com/v1/data/projects/:projectId/players/:playerId/items/:key", "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "playerId", "value": "", "type": "path" }, { "name": "key", "value": "", "type": "path" } ] }, "docs": "Deletes a specific data item by key for a player." } ] } ], "bundled": true }