aryaapp / xavier

Xavier is the API server for Arya.
0 stars 0 forks source link

Sent Invite - As a patient request therapist to connect #3

Open m20io opened 9 years ago

m20io commented 9 years ago

Please write specs for the this story and implemented features. (If there is more please don't delete it)

User Story

As a patient request therapist to connect

Regular Process

Sent a GET request to /users/search with the email address of the therapist - respond with a list of public users with this email address Sent POST request to /user/{:uuid}/invite with your the users uuid and a timeframe for the invite (in days) if authenticated

Invite already exists - response with an error If data is missing or not found - response with an error