Resolver

Admin

adminForgotPassword

  • Description: Used to handle send email with a set new password link for authentication.

  • Response:

    • Type : Object

      Description: Returns a data object with success boolean and error reason.

createAdmin

  • Description: Used to handle creating new admins from dashboard.

  • Response:

    • Type : Object

      Description: Returns a data object with admin id,error and success boolean.

updateAdmin

  • Description: Used to handle changes in admin details and update them.

  • Response:

    • Type : Object

      Description: Returns a data object with id, error and success boolean.

Email-Password

authenticate

  • Description: Used to handle authentication of the user in required platform whether mobile app or dashboard.

  • Response:

    • Type : Object

      Description: Returns a data object with user token.

signUp

  • Description: Used to handle sign up for a user.

  • Response:

    • Type : Object

      Description: Returns a data object with user id and token.

Matches

matchCount

  • Description: Used to count total matches using the target collection.

  • Response:

    • Type : Object

      Description: Returns a data object with total count of matches.

createNewVote

  • Description: Used to handle create new vote after chacking if swipe_limit is reached or not.

  • Response:

    • Type : Object

      Description: Returns a data object vote details .

deleteMatch

  • Description: Used to handle deleting a match and deleting all the messages exchanged by the two users.

  • Response:

    • Type : Object

      Description: Returns a data object with all deleted vote id's and all deleted messages id's .

One Time Password

createNewOtp

  • Description: Used to create new otp and send it to the user.

  • Response:

    • Type : Object

      Description: Returns a success boolean.

resendOtp

  • Description: Used to resend the already created otp.

  • Response:

    • Type : Object

      Description: Returns a success boolean.

Users

getAllUsers

  • Description: Used to get all the users from users collections.

  • Response:

    • Type : Object

      Description: Returns a data object with all users and required details.

getPremiumUsers

  • Description: Used to get all the premium users from users collections.

  • Response:

    • Type : Object

      Description: Returns a data object with all users who have purchased pro membership.

Dashboard Graph Data

getGraphData

  • Description: Used to count total matches using the target collection.

  • Response:

    • Type : Object

      Description: Returns a data object with total count of matches.

results matching ""

    No results matching ""