sleepy-movies

command module
v0.0.0-...-1002af1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2015 License: MIT Imports: 5 Imported by: 0

README

Implementation of the following API for Indy Golang

  • GET /movies Returns all movies. Movies have Title, Genre, Release Year, Description, Cast.
  • POST /movies Creates a new movie.
  • GET /movies/:id Returns specified movie.
  • PUT /movies/:id Create/update a movie with the given ID.
  • DELETE /movies/:id Removes a movie by ID.
  • GET /genre Returns all genres. Genres have Name.
  • POST /genre Creates a new genre.
  • GET /genre/:id Returns specified genre.
  • PUT /genre/:id Creates/updates a genre with the given ID.
  • DELETE /genre/:id Removes a genre by id
  • GET /actors Returns a list of actors. Actors have names.
  • POST /actors Creates an actor.
  • GET /actors/:id Returns a specific actor.
  • POST /actors/:id Creates/updates an actor with the given ID.
  • DELETE /actors/:id Removes an actor by id

Also created the following

  • GET /genre/:id/movies Returns movies associated with the given genre.
  • GET /actors/:id/movies Returns movies associated with the given actor.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL