/account

patch

Verify email. And more.

/auth

get

Responds with a JWT token when authorized (with basic authorization).

get

Responds with a JWT admin token

/messages

post

Sends a message from logged user to receiver. Send a notification to the receiver (job does it regularly).

get
  • ?filter[threads] show a list of 'last message of every conversation'
  • ?filter[with]=username show a conversation with a single user

/users

post

Create a new user wih unverified email. Verification message will be sent to the provided email.

patch
  • admin can activate or desactivate buddy
  • user can update her own availability
post

add a language to self

delete

remove a language from self

/comers

get

list verified and available comers to a buddy

  • ?filter[gender]=male,female,other
  • ?filter[age][min]=number
  • ?filter[age][max]=number
  • ?filter[language]=aa,bb,cc

/buddies

get

list verified, available and active buddies to a comer

  • ?filter[gender]=male,female,other
  • ?filter[age][min]=number
  • ?filter[age][max]=number
  • ?filter[language]=aa,bb,cc