Users Information

Hi,

Q1. Can I filter new Users through "/o?method=user_details" request method? - I want only new users logged in everyday.
Q2. How does iDisplayStart parameter work?

Regards,
Karthik

0

Comments

3 comments
  • Hello,
    Q1.
    yes you can filter by applying basically any mongodb query in query parameter as json encoded string
    So if you want to retrieve only new users each day, you need to query timestamp of fs property. Something like this to get all new users for today (27th of September, 2017)

    query={"fs":{"$gte":1506498018}}

    Q2
    This is meant for pagination and works as offset. So you can skip provided amount of first documents.

    0
    Comment actions Permalink
  • Thank you,

    I tried filtering the JSON data using mongodb query, but I am not able to filter it.
    I am getting all the user records in my account.
    I couldn't find "fs" timestamp property in “/o?method=user_details” method.

    Karthik.

    0
    Comment actions Permalink
  • So what you are filtering are actually these documents:

    and you can filter them by any of those properties (your user have them of course)

    0
    Comment actions Permalink

Please sign in to leave a comment.