These are chat archives for fossasia/open-event-server

8th
Aug 2017
Harshita Gupta
@harshitagupta30
Aug 08 2017 17:36
Hi can anyone suggest how to differentiate between active and inactive users using the Users API?
Shubham Padia
@shubham-padia
Aug 08 2017 17:43
Can you define active and inactive here :) ?
Harshita Gupta
@harshitagupta30
Aug 08 2017 17:47
@shubham-padia Oops sorry! By active I mean the users which are using their account and inactive status means those who are no longer there and accounts have been soft deleted so we can display their details
Piyush Agrawal
@poush
Aug 08 2017 17:48
request for soft deleted users will throw 404
I guess we do not have any feature which manages the users not active for long time
Harshita Gupta
@harshitagupta30
Aug 08 2017 17:51
ok! but the UI is designed in such a way that we have to display the inactive users as well
image.png
Also for the users which are active how can we check their status since we have no such attributes
Shubham Padia
@shubham-padia
Aug 08 2017 18:11
add ?get_trashed=true to get the deleted resources