movie API Documentation

A comprehensive REST API for managing movie

Introduction

APIRequest.in is a free platform designed to help students and developers practice API requests. It offers simple dummy APIs with user, movie, and product data to understand real-world API usage.

Base URL: https://apirequest.in/api/

Format: All responses are returned in JSON format.

movie

GET /api/movie

Retrieve a list of all movies.

Query Parameters
Response (200 OK)
[
{
    "available": true,
    "director": "Christopher Nolan",
    "duration_minutes": 148,
    "genre": [
        "Sci-Fi",
        "Thriller"
    ],
    "id": 101,
    "language": "English",
    "rating": 8.8,
    "release_year": 2010,
    "title": "Inception"
}
]
                        

POST api/movie

Create a new movie.

Request Body
{
    "available": true,
    "director": "Christopher Nolan",
    "duration_minutes": 148,
    "genre": [
        "Sci-Fi",
        "Thriller"
    ],
    "id": 101,
    "language": "English",
    "rating": 8.8,
    "release_year": 2010,
    "title": "Inception"
}

GET /api/movie/:id

Retrieve a specific movie by ID.

Response (200 OK)
{
    "available": true,
    "director": "Christopher Nolan",
    "duration_minutes": 148,
    "genre": [
        "Sci-Fi",
        "Thriller"
    ],
    "id": 101,
    "language": "English",
    "rating": 8.8,
    "release_year": 2010,
    "title": "Inception"
}
                             

DELETE /movie/:id

Delete a movie by ID.

Response (204 No Content)