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
Add GET, POST, PUT, DELETE basic routes for Day table
Update Published Schedule routes:
Add "Day" information to returned data of /season and /date as JSON object at same level as date and events.
Update POST request to require day id (second passed parameter), and accept as the cohort parameter one or more of the following strings {"junior", "senior", "both"} and convert the string into the appropriate cohort year.
Update PUT request to take day id
Acceptance Criteria:
Day routes work and return information about the day
Published Schedule post request should accept one or more of {"junior", "senior", "both"} as a valid query parameter
Published Schedule /season route should return an array of json with the following format
Information:
Add
GET
,POST
,PUT
,DELETE
basic routes for Day tableUpdate Published Schedule routes:
/season
and/date
as JSON object at same level asdate
andevents
.{"junior", "senior", "both"}
and convert the string into the appropriate cohort year.Acceptance Criteria:
{"junior", "senior", "both"}
as a valid query parameter/season
route should return an array of json with the following format/date
route should return a JSON object with the following format:The text was updated successfully, but these errors were encountered: