Skip to content

ISS-SOA/simple_cadet

Repository files navigation

SimpleCadet Webservice

Codeship Status for ISS-SOA/simple_cadet

A simple version of web service that scrapes CodeCademy data using the codebadges gem

Handles:

  • GET /
    • returns OK status to indicate service is alive
  • GET /api/v1/cadet/.json
    • returns JSON of user info: id (name), type, badges
  • GET /api/v1/tutorial/<tutorial_id>
    • takes a URL parameter of previously created tutorial
    • returns: array of users and their missing badges
  • POST /api/v1/tutorial
    • takes JSON: array of 'usernames', array of 'badges'
    • redirects (303) to GET /api/v1/tutorial/<new_tutorial_id>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published