Skip to main content

Download OpenAPI specification:Download

  • Project: CareerFoundry assignment
  • Description: Write an API for a movie app, which is the final project.
  • My Role: Fullstack Web Developer, Technical Writer
  • Date: July 8, 2022

Introduction

This API lets users access information about different b-movies, such as directors, actors, genre, and year of release. It also allows them to sign up to create a list of their favorite b-movies. They can also remove movies from their favorites and even unregister from the movie app if they'd like.

Users

Get ALL users

Authorizations:
bearerAuth

Responses

User registration

Authorizations:
bearerAuth
Request Body schema: application/json
object

Request samples

Content type
application/json
{
  • "Username": "blockhead",
  • "Password": "genieinabottl3",
  • "Email": "happycamper@email.com",
  • "Birthday": "1984-03-11"
}

Unregister user

Authorizations:
bearerAuth

Responses

Update user info

Authorizations:
bearerAuth
Request Body schema: application/json
object

Responses

Request samples

Content type
application/json
{
  • "Email": "standinginwater@ecomdomain.com"
}

Login user

Authorizations:
bearerAuth
query Parameters
Username
string
Example: Username=blockhead
Password
string
Example: Password=genieinabottl3
Request Body schema: application/json
object

Responses

Request samples

Content type
application/json
""

GET single user by username

Authorizations:
bearerAuth

Responses

Movies

Get ALL movies

Authorizations:
bearerAuth

Responses

Get single movie by title

Authorizations:
bearerAuth

Responses

Get genre by name

Authorizations:
bearerAuth

Responses

Get director info by name

Authorizations:
bearerAuth

Responses

Add movie to favorite list

Authorizations:
bearerAuth
Request Body schema: application/json
object

Responses

Request samples

Content type
application/json
""

Remove movie from favorite list

Authorizations:
bearerAuth

Responses