Create Player Index
Create an index for player data.
Read time 1 minuteLast updated 21 hours ago
Create an index for player data. Authentication Required:
Yesugs cloud-save data index player create [options]
Arguments
<fields>keyascfieldsbodyfields--fields "[{\"key\":\"myIndexedKey\",\"asc\":true},{\"key\":\"myIndexedKey2\",\"asc\":false}]"
<visibility>defaultpublicprotected<body>fields{ "indexConfig": { "fields": [ { "key": "myIndexedKey", "asc": true }, { "key": "myIndexedKey2", "asc": false } ] }}
Documentation
For more documentation on index creation, see the Unity Service API Docs.Options
Option | Alias | Description |
|---|---|---|
| project-id | -p, --project-id | The Unity cloud project ID. |
| environment-name | -e, --environment-name | The services environment name. |
| help | -?, -h, --help | Display help and usage information. |
| quiet | -q, --quiet | Reduce logging to a minimum. |
| json | -j, --json | Use JSON as the output format. |