command
module
Version:
v0.0.0-...-1002af1
Opens a new window with list of versions in this module.
Published: Apr 23, 2015
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.