rise-summer/team6-education

Class API

Open

#6 opened on Jul 15, 2020

 (1 comment) (0 reactions) (0 assignees)JavaScript (6 forks)auto 404
backendgood first issue

Repository metrics

Stars
 (1 star)
PR merge metrics
 (No merged PRs in 30d)

Description

Tasks

  • Create a route (ex "/api/class/<class_id>") that will return information about the class in JSON
  • If the user is not authenticated as the user that we are looking up return a 401 (unauthorized) status code instead
  • If the id does not exist, send a 404 (not found) response

Contributor guide