Waziup / Socialbackend

1 stars 3 forks source link

Simplify ID #5

Closed cdupont closed 6 years ago

cdupont commented 6 years ago
curl  http://localhost:8080/SocialBackend/socials

[
 {
   "_id": {
     "timestamp": 1508522112,
     "machineIdentifier": 4211053,
     "processIdentifier": 5105,
     "counter": 15983970,
     "time": 1508522112000,
     "date": 1508522112000,
     "timeSecond": 1508522112
   },
   "user_id": "PandaConstantin",
   "channel": "twitter",
   "message": "Hello from Constantin",
   "status": "Delivered",
   "time": "2017-10-20T17:55:11.766"
 }
]

The id looks a bit complicated. Could we make the id simpler? Which is the id I should use for deleting a msg, for instance?

cdupont commented 6 years ago

Any update?

cdupont commented 6 years ago

@pandaconstantin what is the status? This bug is blocking and urgent...

cdupont commented 6 years ago

@pandaconstantin pinging you again

pandaconstantin commented 6 years ago

The ID has been simplified : Example : 59f8717c40416d2aa1b80ca8

Done !