Vedina Movies is a comprehensive movie streaming platform API developed by Yousef Jafari for Vedina Co. This API provides endpoints for user management, movie browsing, favorites, watch history, subscription handling, payment processing, comments, and blog functionality.
Most endpoints require a valid session token. Include the session token in the URL where :session
is specified.
Base URL: /users
POST /users
Content-Type: application/json
{
"name": "string",
"email": "string",
"phone": "string",
"password": "string"
}
POST /users/login
Content-Type: application/json
{
"user": "string",
"password": "string"
}
GET /users/:session
PATCH /users/:session
Content-Type: application/json
{
"name": "string",
"email": "string",
"phone": "string"
}
POST /users/reset-password
Content-Type: application/json
{
"email": "string"
}
POST /users/change-password/:session
Content-Type: application/json
{
"password": "string"
}
Send OTP:
GET /users/otp/send/:session
Verify OTP:
GET /users/otp/verify/:session?otp=123456
Base URL: /movies
GET /movies?search=string&target=title&limit=15&page=1&sort=string&order=string&basic=true&imdb=number&dub=boolean&sub=boolean&years=string&genres=string&countries=string
GET /movies/:id?basic=false
POST /movies
Content-Type: application/json
{
// Movie details
}
PUT /movies/:id
Content-Type: application/json
{
// Updated movie details
}
DELETE /movies/:id
Base URL: /favorites
GET /favorites/is/:session/:movie
GET /favorites/:session
GET /favorites/add/:session/:movie
GET /favorites/remove/:session/:movie
Base URL: /watched
GET /watched/is/:session/:movie
GET /watched/:session
GET /watched/add/:session/:movie
GET /watched/remove/:session/:movie
Base URL: /subscription
GET /subscription/:session
GET /subscription/add/:session/:plan
Base URL: /pay
GET /pay/start/:session/:amount
GET /pay/callback/:session?trackId=string
Base URL: /comments
POST /comments/:session/:movie
Content-Type: application/json
{
"comment": "string"
}
GET /comments/:movie
Base URL: /blog
GET /blog/categories
GET /blog?limit=number&page=number&search=string&categoryId=string&sort=string&order=string
GET /blog/:id
GET /version
All endpoints return JSON responses in the following format:
{
"status": "success",
"data": {
// Response data
}
}
Errors are returned in the following format:
{
"status": "error",
"message": "Error message description"
}
- Yousef Jafari
- Vedina Co.
For additional support or inquiries, please contact Vedina Co. support team.