KevinDelao / Cloud-Backend-Project

0 stars 0 forks source link

Update id's the entity to be more descriptive #30

Closed jsunthon closed 4 years ago

jsunthon commented 4 years ago

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

KevinDelao commented 4 years ago

pushed to master, and deployed to AWS