API calls for VRMS #10
Labels
complexity: medium
dependency
Issue has dependencies
draft
This issue is not fully-written
p-feature: wins
role: back end
s: VRMS
stakeholder: VRMS
size: 0.5pt
Can be done in 3 hours or less
Milestone
Dependency
Overview
This is a list of the API calls that are currently being used by VRMS that will need to be reproduced from PD, with the addition of a couple that I have good reason to believe we will need.
Action Items
Make these API calls available:
Users Create Table: User #15
GET - Get all users - /api/users/
GET - Get one user by _id - /api/users/:user_id
GET - Get one user by email - /api/users/:user_email
POST - Create new user - /api/users
PATCH - Update one user by _id - /api/users/:user_id
DELETE - Delete one user by _id - /api/users/:user_id
Recurring Events Create Table: recurring_event #14
GET - Get all recurring events - /api/recurringevents
GET - Get one recurring event by id - /api/recurringevents/:recurringevent_id
POST - Create new recurring event - /api/recurringevents
PATCH - Update one recurring event by id- /api/recurringevents/:recurringevent_id
DELETE - Delete recurring event by id - /api/recurringevents/:recurringevent_id
Events
GET - Get all events - /api/events
GET - Get one event by id - /api/events/:event_id
POST - Create new event - /api/events
PATCH - Update one user by id - /api/events/
DELETE - Delete one event by id - /api/events/:event_id
Checkins
GET - Get all checkins - /api/checkins
GET - Get all checkins by event - /api/checkins/:event_id
GET - Get all checkins by project_id - /api/checkins/:project_id (needs a join)
GET - Get all checking by user_id - /api/checkins/:user_id
GET - Get one checkin by id - /api/checkins/:checkin_id
POST - Create new checkin - /api/checkins
Projects Create Table: project #16
GET - Get all projects - /api/projects
GET - Get one project by id - /api/projects/:project_id
POST - Create new project - /api/projects
PATCH - Update one project by id - /api/projects
DELETE - Delete one project by id - /api/projects/:project_id
Questions
GET - Get all questions - /api/questions
GET - One question by id - /api/questions/:question_id
POST - Create a question - /api/questions
PATCH - Update a question by id- /api/questions/:question_id
DELETE - Delete a question by id - /api/questions/:question_id
The text was updated successfully, but these errors were encountered: