Users of the API have suggested that having the id property in the return value of a CREATE endpoint is a little vague. It would be more helpful to prefix the id with the resource type.
So,
id of user entity should be userId
id of device entity should be deviceId
id of the game session entity should be gameSessionId
id of the position event should be positionEventId
Users of the API have suggested that having the
id
property in the return value of a CREATE endpoint is a little vague. It would be more helpful to prefix the id with the resource type.So,
id
of user entity should beuserId
id
of device entity should bedeviceId
id
of the game session entity should begameSessionId
id
of the position event should bepositionEventId