post https://openapi.zepeto.zone/datastorage/v1/worlds//player-data/increment
Increment/Decrement Key-Value of player
You can increase or decrease the number data from the World player data.
An error will occur if you attempt to increase or change the data that is not a number.
If you enter another person's World ID, Error 403 will be printed and state that you do not have permission.
Request
Name | Description | Type |
---|---|---|
worldId | World ID | String |
playerId | Player ID | String |
key | Key of the data to be incremented/decremented | String |
value | Value to be incremented/decremented - Increase when positive value - Decrease when negative value | Number |
Response
Name | Description | Type |
---|---|---|
resultValue | Changed result value | Number |