You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app is already set up to connect to the volunteer database using standard laravel cookie based auth, so we only need the following endpoints with standard user authentication:
GET /v1/profile
Returns information about the current user account (if logged in). Otherwise returns a 401 error.
Returns an array of all roles within the specified event ID. Each role belongs to a specific department. (Development note: Because issue #114 has not been addressed yet, we are calling these roles in the API but in the database they are called shifts.)
Returns an array of all shifts within the specified event ID. Each shift belongs to a role and also belongs to a department. (Development note: Because issue #114 has not been addressed yet, we are calling these shifts in the API but in the database they are called slots.)
So first pass at this, this seems straightforward. The only thing that seems to require work is the GET requests. We just copy whatever middleware each controller has to the api controllers and write some simple queries to pull in the concerning data which we pack to JSON.
The volunteer check in project is a planned mobile app which integrates with the volunteer database. https://github.com/playasoft/voldb-check-in/wiki/Requirements
The app is already set up to connect to the volunteer database using standard laravel cookie based auth, so we only need the following endpoints with standard user authentication:
GET /v1/profile
Returns information about the current user account (if logged in). Otherwise returns a 401 error.
GET /v1/events
Returns an array of all events with basic information like the name, start, and end dates.
GET /v1/event/[id]/departments
Returns an array of all departments within the specified event ID.
GET /v1/event/[id]/roles
Returns an array of all roles within the specified event ID. Each role belongs to a specific department. (Development note: Because issue #114 has not been addressed yet, we are calling these roles in the API but in the database they are called shifts.)
GET /v1/event/[id]/shifts
Returns an array of all shifts within the specified event ID. Each shift belongs to a role and also belongs to a department. (Development note: Because issue #114 has not been addressed yet, we are calling these shifts in the API but in the database they are called slots.)
POST /v1/shift/[id]
Submits the user's performance to the server for the specified shift.
The text was updated successfully, but these errors were encountered: