📱 EyeFull News Reporter API Integration Guide

🚀 Quick Start

Base URL: http://localhost:3000/Reporter-guide (Local) | https://api-d.eyefulnews.com/Reporter-guide (Development) | https://api-d.eyefulnews.com/Reporter-guide (Production)

🚨 Status Codes Reference

Status Code Error Type Description
200 Success Fetch Success
201 Create Create Success
422 Validation Error Invalid request data
401 Unauthorized Missing or invalid JWT token
403 Forbidden Insufficient Role Privilege
404 Not Found Resource not found
409 Conflict Same Details Exists
500 Server Error Internal server error

Common Authentication/Token Invalid Error Responses

{
  "status": 403,
  "success": false,
 "message": "Unauthorized: User not found"
}

{
  "status": 403,
  "success": false,
  "message": "Unauthorized: Invalid token"
}

{
  "status": 403,
  "success": false,
  "message": "Forbidden: Insufficient role permissions"
}

{
  "status": 403,
  "success": false,
  "message": "Unauthorized: Token Not Found"
}


Common Validator Required Fields Check Error Response:

{
  "status": 422,
  "success": false,
  "message": "The following fields are required: FieldA, FieldB and FieldC"
}

{
  "status": 422,
  "success": false,
  "message": "Password must be at least 8 characters long, contain uppercase and lowercase letters, a digit, and a special symbol."
}

{
  "status": 422,
  "success": false,
  "message": "A valid email address is required."
}

{
  "status": 422,
  "success": false,
  "message": "Invalid Reporter number. It must be exactly 10 digits."
}

{
  "status": 422,
  "success": false,
  "message": "Invalid OTP."
}

Common File Upload Image Error Response:

{
    "status": 422,
    "success": false,
    "message": "No image provided for upload."
}

{
    "status": 200,
    "success": false,
    "error": "Only .png, .jpg, and .jpeg formats are allowed"
}

{
    "status": 422,
    "success": false,
    "message": "File too large"
}
sequenceDiagram
    Reporter->>API: 1. Register User (email + password)
    API-->>Reporter: Registration Success + JWT Token

    Reporter->>API: 4. Logout User (with JWT)
    API-->>Reporter: Logout confirmation

    Reporter->>API: 5. Request Password Reset (email + role)
    API-->>Reporter: OTP sent confirmation

    Reporter->>API: 6. Reset Password (email + role + otp + new password)
    API-->>Reporter: Password Reset Success

👤 Reporters

Query Parameters:

Add Reporter

POST /reporter/register
Authorization: Bearer <token>
Content-Type: application/json
role is  Reporter or GuestReporter
{
    "firstName": "kiarn",
    "middleName": "pavi",
    "lastName": "dharni",
    "email": "Eranna.m@cresolinfoserv.com",
    "mobileNumber": 9505036110,
    "role": "GuestReporter"
}

Response:

{
  "status": 200,
  "success": true,
  "message": "kiarn pavi dharni created successfully.",
  "reporterID": "68f87cc103c0ceee6436dc1d"
}

Update Reporter

PUT /reporter/update/roleId
Authorization: Bearer <token>
Content-Type: application/json

{
    "firstName": "kiarn",
    "middleName": "pavi",
    "lastName": "dharni",
    "email": "Eranna.m@cresolinfoserv.com",
    "mobileNumber": 9505036110,
}

Response:

{
  "status": 200,
  "success": true,
  "message": "GuestReporter details updated successfully."
}

Check Reporter Register By Role ID

GET /check-reporter/roleId
Authorization: Bearer <token>
Content-Type: application/json


Response:

{
  "status": 200,
  "success": true,
  "message": "GuestReporter details fetched successfully",
  "ReporterDetails": {
    "role": "GuestReporter",
    "isApproved": true,
    "isRegistered": true,
    "roleID": "68f0d97b1f39eb821e0d4e8a"
  }
}

** Single Reporter or Guest Reporter By Role ID**

GET /reporter/get/roleID
Authorization: Bearer <token>
Content-Type: application/json

Response:

{
  "status": 200,
  "success": true,
  "message": "Reporter details fetched successfully",
  "reporter": {
    "_id": "68f0d97b1f39eb821e0d4e89",
    "firstName": "sunny",
    "middleName": "",
    "lastName": "Kanagala",
    "email": "sunny@yopmail.com",
    "mobileNumber": 9705735179,
    "languageId": "",
    "role": "Reporter",
    "token": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2OGYwZDk3YjFmMzllYjgyMWUwZDRlODkiLCJyb2xlIjoiUmVwb3J0ZXIiLCJpYXQiOjE3NjA2MTQ5NjJ9.4lkrZq8hufOdtTahrK_hyfSJ_Z9vY2v07j2Co2cEfkE",
    "profilePic": "https://icon-library.com/images/anonymous-avatar-icon/anonymous-avatar-icon-25.jpg",
    "isApproved": true,
    "emailResetStatus": false,
    "isGuestApplied": false,
    "status": "Active",
    "roleID": "68f0d97b1f39eb821e0d4e8a",
    "createdAt": "2025-10-16T11:39:42.659Z",
    "updatedAt": "2025-10-16T11:42:42.343Z"
  }
}

🆕 Post Categories

Query Parameters:

Post Categories

GET /post/category/filter/Active
Authorization: Bearer <token>
Content-Type: application/json

Response:

{
  "status": 200,
  "success": true,
  "message": "Post Categories details fetched successfully",
  "postCategories": {
    "postCategories": [
      {
        "postCategoryName": "Work",
        "postCategoryImageURL": "",
        "postCategoryStatus": "Active",
        "postCategoryID": "68f89ab503c0ceee6436dc58",
        "createdAt": "2025-10-22T08:49:57.333Z",
        "updatedAt": "2025-10-22T08:49:57.333Z"
      },
      {
        "postCategoryName": "Stocks",
        "postCategoryImageURL": "",
        "postCategoryStatus": "Active",
        "postCategoryID": "68dcd16d242bcd0d46c2e9da",
        "createdAt": "2025-10-01T06:59:57.392Z",
        "updatedAt": "2025-10-01T07:18:19.652Z"
      },
      {
        "postCategoryName": "World News",
        "postCategoryImageURL": "",
        "postCategoryStatus": "Active",
        "postCategoryID": "68db621a242bcd0d46c2deab",
        "createdAt": "2025-09-30T04:52:42.844Z",
        "updatedAt": "2025-10-01T07:18:18.776Z"
      },
      {
        "postCategoryName": "Entertainment",
        "postCategoryImageURL": "",
        "postCategoryStatus": "Active",
        "postCategoryID": "68c929dd8bd02cff20189206",
        "createdAt": "2025-09-16T09:11:57.710Z",
        "updatedAt": "2025-10-01T06:59:48.664Z"
      }
    ],
    "pagination": {
      "totalRecords": 2,
      "totalPages": 1,
      "currentPage": 1,
      "pageSize": 15
    }
  }
}

Single Post Category By Category ID

GET /reporters/get/Published
Authorization: Bearer <token>
Content-Type: application/json

Response:

{
  "status": 200,
  "success": true,
  "message": "Post Category details fetched successfully",
  "PostCategoryData": {
    "_id": "68f89ab503c0ceee6436dc57",
    "postCategoryName": "Work",
    "postCategoryImageURL": "",
    "postCategoryStatus": "Active",
    "postCategoryID": "68f89ab503c0ceee6436dc58",
    "createdAt": "2025-10-22T08:49:57.333Z",
    "updatedAt": "2025-10-22T08:49:57.333Z"
  }
}

🆕 Posts

Create Post

POST /posts/create
Authorization: Bearer <token>
Content-Type: application/json

{
    "postCategory": "68dcd16d242bcd0d46c2e9da",
    "postReportedDetails": "68f4f34f1f39eb821e0d8532",
    "postLanguage": "68468543c65a2f4251049d74",
    "postDescription": "Newss by hyderabad",
    "postTitle": "By Reporter",
    "postedOn": "2025-08-29T03:30:00",
    "postLocationDetails":"68468543c65a2f4251049d74"
}

Response:

{
  "status": 200,
  "success": true,
  "message": "Post created successfully",
  "postID": "68f89ee203c0ceee6436dc72"
}

Upload Post Image By Post ID

PUT /posts/upload/postId
Authorization: Bearer <token>
Content-Type: application/json

{
    "postImage": ""
}

Response:

{
  "status": 200,
  "success": true,
  "message": "post image file uploaded successfully"
}

Posts Based Reporter ID

Query parameters

days=5

GET /posts/reporter/roleId
Authorization: Bearer <token>
Content-Type: application/json


Response:

{
  "status": 200,
  "success": true,
  "message": "Posts details fetched successfully",
  "reporterPosts": {
    "publishedReporterPosts": [
      {
        "_id": "68f9b054591c9e382e0531be",
        "postTitle": "John wick - The 3 Chapters",
        "postDescription": "John wick is a wonderful film with a genre of action and drama where the hero John after losing his dog which is killed by a gangster son. Where he turned into violence and take revenge on them ",
        "postedOn": "2025-10-22T21:49:00.000Z",
        "postCategory": {
          "postCategoryName": "Entertainment",
          "postCategoryImageURL": "",
          "postCategoryID": "68c929dd8bd02cff20189206"
        },
        "postReportedDetails": {
          "firstName": "GuestUser",
          "lastName": "",
          "email": "",
          "mobileNumber": 0,
          "role": "User",
          "profilePic": "https://icon-library.com/images/anonymous-avatar-icon/anonymous-avatar-icon-25.jpg",
          "roleID": "68f0da821f39eb821e0d4fb4"
        },
        "postLocationDetails": {
          "locationName": "Hyderabad",
          "locationID": "68f754bc5478eca4f4360374"
        },
        "postLanguage": {
          "languageName": "English",
          "languageID": "68413bdfe7181f45a6050e9e"
        },
        "postImageURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/Posts/68f9041bb90ded762430959b-post.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T044820Z&X-Amz-Expires=120&X-Amz-Signature=7e24d69a8dc332379923d8ed961c89cb0df99f4e25e56da537c24273dfe88bcc&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "postStatus": "Published",
        "postID": "68f9041bb90ded762430959b",
        "createdAt": "2025-10-22T16:19:39.600Z",
        "updatedAt": "2025-10-22T16:19:46.440Z",
        "userActivityData": {
          "likes": 0,
          "dislikes": 0,
          "shares": 0,
          "downloads": 1
        }
      }
    ],
    "pendingReporterPosts": [
      {
        "_id": "68f9b063591c9e382e0531c1",
        "postTitle": "Why Bihar stands apart in BJP’s dominance of Hindi heartland",
        "postDescription": "“Wherever Hindu refugees settled after Partition, the Bharatiya Jana Sangh (BJS) began gaining influence while the Communists made an impact wherever there were factories and workers.” This popular saying from the 1950s and 1960s perfectly sums up the politics of Bihar.\n\nIf till 1990, this meant Congress dominance in the state, barring two brief interregnums between 1967-1972 and 1977-1980, it is ",
        "postedOn": "2025-10-23T09:08:00.000Z",
        "postCategory": {
          "postCategoryName": "Politics",
          "postCategoryImageURL": "",
          "postCategoryID": "68c92bc48bd02cff20189264"
        },
        "postReportedDetails": {
          "firstName": "GuestUser",
          "lastName": "",
          "email": "",
          "mobileNumber": 0,
          "role": "User",
          "profilePic": "https://icon-library.com/images/anonymous-avatar-icon/anonymous-avatar-icon-25.jpg",
          "roleID": "68f0da821f39eb821e0d4fb4"
        },
        "postLocationDetails": {
          "locationName": "Kukatpally",
          "locationID": "68f8b327f4c3b2fbf2b79cb4"
        },
        "postLanguage": {
          "languageName": "English",
          "languageID": "68413bdfe7181f45a6050e9e"
        },
        "postImageURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/Posts/68f9a3367b31ffccda554d61-post.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T044820Z&X-Amz-Expires=120&X-Amz-Signature=bcde424091516ac77e62732fff8061fb29d771a25b2e4087d88652fc1087704c&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "postStatus": "Pending",
        "postID": "68f9a3367b31ffccda554d61",
        "createdAt": "2025-10-23T03:38:30.570Z",
        "updatedAt": "2025-10-23T03:38:34.608Z"
      }
    ],
    "rejectedReporterPosts": []
  }
}

Single Post By Post ID

GET /posts/get/postId
Authorization: Bearer <token>
Content-Type: application/json


Response:

{
  "status": 200,
  "success": true,
  "message": "Posts details fetched successfully",
  "posts": {
    "postTitle": "Why Bihar stands apart in BJP’s dominance of Hindi heartland",
    "postDescription": "“Wherever Hindu refugees settled after Partition, the Bharatiya Jana Sangh (BJS) began gaining influence while the Communists made an impact wherever there were factories and workers.” This popular saying from the 1950s and 1960s perfectly sums up the politics of Bihar.\n\nIf till 1990, this meant Congress dominance in the state, barring two brief interregnums between 1967-1972 and 1977-1980, it is ",
    "postedOn": "2025-10-23T09:08:00.000Z",
    "postCategory": {
      "postCategoryName": "Politics",
      "postCategoryImageURL": "",
      "postCategoryID": "68c92bc48bd02cff20189264"
    },
    "postReportedDetails": {
      "firstName": "GuestUser",
      "lastName": "",
      "email": "",
      "mobileNumber": 0,
      "role": "User",
      "profilePic": "https://icon-library.com/images/anonymous-avatar-icon/anonymous-avatar-icon-25.jpg",
      "roleID": "68f0da821f39eb821e0d4fb4"
    },
    "postLocationDetails": {
      "locationName": "Kukatpally",
      "locationID": "68f8b327f4c3b2fbf2b79cb4"
    },
    "postLanguage": {
      "languageName": "English",
      "languageID": "68413bdfe7181f45a6050e9e"
    },
    "postImageURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/Posts/68f9a3367b31ffccda554d61-post.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T045923Z&X-Amz-Expires=120&X-Amz-Signature=f5e55f257fd5e79bc948226366a840d27c51d019d00efc1e1cec2bcaf98fd803&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
    "postStatus": "Published",
    "postID": "68f9a3367b31ffccda554d61",
    "userActivityData": {
      "users": [
        {
          "userId": "68f1ce951f39eb821e0d59f6",
          "actions": {
            "like": true,
            "dislike": false,
            "share": false,
            "download": false,
            "read": false,
            "isBookmarked": false
          },
          "_id": "68f9b4ba1f39eb821e0da249"
        }
      ],
      "likes": 1,
      "dislikes": 0,
      "shares": 0,
      "downloads": 0
    },
    "comments": [
      {
        "comment": "super",
        "likes": 0,
        "commentID": "68f9b6171f39eb821e0da271",
        "commentedAt": "2025-10-23T04:59:03.577Z",
        "users": [],
        "user": {
          "_id": "68f1ce951f39eb821e0d59f5",
          "firstName": "",
          "email": "sunnykanagala888@gmail.com",
          "roleID": "68f1ce951f39eb821e0d59f6"
        },
        "replies": [
          {
            "replyID": "68f9b61c1f39eb821e0da27c",
            "comment": "ok",
            "likes": 0,
            "likedUsers": [],
            "user": {
              "_id": "68f1ce951f39eb821e0d59f5",
              "firstName": "",
              "email": "sunnykanagala888@gmail.com",
              "roleID": "68f1ce951f39eb821e0d59f6"
            }
          }
        ]
      }
    ]
  }
}

Update Post By Post ID

PUT /posts/update/postId
Authorization: Bearer <token>
Content-Type: application/json

{
    "postCategory": "68413b52e7181f45a6050dc3",
    "postReportedDetails": "68aadca18a0557c2f0e99de6",
    "postLanguage": "68413bdfe7181f45a6050e9e",
    "postDescription": "Newss by Reporters",
    "postTitle": "iam u of You",
    "postedOn": "2025-10-22T10:30:00",
    "postLocationDetails":"68413bdfe7181f45a6050e9e"
}

Response:

{
  "status": 200,
  "success": true,
  "message": "Posts details update successfully"
}

Cunt of Posts by Reporter Id

GET /posts/count/get/ReporterId
Authorization: Bearer <token>
Content-Type: application/json


Response:

{
  "status": 200,
  "success": true,
  "message": "Dashboard Counts details fetched successfully",
  "count": {
    "totalPosts": 74,
    "publishedPost": 30,
    "publishedQuotes": 33,
    "publishedShorts": 11
  }
}

🆕 Short Categories

Query Parameters:

Single Short Category By Short ID

GET /shorts/category/get/shortCategoryID
Authorization: Bearer <token>
Content-Type: application/json

Response:

{
  "status": 200,
  "success": true,
  "message": "Short Category details fetched successfully",
  "shortCategoryData": {
    "shortCategoryName": "Politics",
    "shortCategoryStatus": "Active",
    "shortCategoryID": "68c931148bd02cff201894db",
    "createdAt": "2025-09-16T09:42:44.251Z",
    "updatedAt": "2025-09-16T09:42:44.251Z"
  }
}

Short Categories

GET /shorts/category/filter/Active
Authorization: Bearer <token>
Content-Type: application/json

Response:

{
  "status": 200,
  "success": true,
  "message": "short Categories details fetched successfully",
  "shortCategories": {
    "shortCategories": [
      {
        "shortCategoryName": "Politics",
        "shortCategoryStatus": "Active",
        "shortCategoryID": "68c931148bd02cff201894db",
        "createdAt": "2025-09-16T09:42:44.251Z",
        "updatedAt": "2025-09-16T09:42:44.251Z"
      },
      {
        "shortCategoryName": "Health",
        "shortCategoryStatus": "Active",
        "shortCategoryID": "68c9310a8bd02cff201894d3",
        "createdAt": "2025-09-16T09:42:34.742Z",
        "updatedAt": "2025-09-16T09:42:34.742Z"
      },
      {
        "shortCategoryName": "Entertainment",
        "shortCategoryStatus": "Active",
        "shortCategoryID": "68c931038bd02cff201894cb",
        "createdAt": "2025-09-16T09:42:27.251Z",
        "updatedAt": "2025-10-18T08:22:01.628Z"
      },
      {
        "shortCategoryName": "Devotional ",
        "shortCategoryStatus": "Active",
        "shortCategoryID": "68c930f68bd02cff201894c3",
        "createdAt": "2025-09-16T09:42:14.953Z",
        "updatedAt": "2025-10-12T19:25:20.892Z"
      },
      {
        "shortCategoryName": "Technology",
        "shortCategoryStatus": "Active",
        "shortCategoryID": "68c930e88bd02cff201894bb",
        "createdAt": "2025-09-16T09:42:00.728Z",
        "updatedAt": "2025-09-16T09:42:00.728Z"
      }
    ],
    "pagination": {
      "totalRecords": 5,
      "totalPages": 1,
      "currentPage": 1,
      "pageSize": 15
    }
  }
}

🆕 Shorts

Create Short

POST /shorts/create
Authorization: Bearer <token>
Content-Type: application/json

{
    "shortCategory":"68c930e88bd02cff201894bb",
    "shortReportedDetails":"68405f3c73c0f91e76a21b3d",
    "shortPostedOn":"2025-08-12 3:10:15",
    "shortLanguage":"68413bdfe7181f45a6050e9e"
}

Response:

{
  "status": 200,
  "success": true,
  "message": "Short created successfully",
  "shortID": "68f89ee203c0ceee6436dc72"
}

Upload Short Video By Short ID

PUT /shorts/upload/shortId
Authorization: Bearer <token>
Content-Type: application/json

{
    "shortVideo": ""
    "shortThumbnail":""
}

Response:

{
  "status": 200,
  "success": true,
  "message": "Short Video file uploaded successfully"
}

Shorts By Logged User Activity

Query parameters

category="6846a906bcc01e789055be98" search="Sports" language="67e64b8f2a56ab8f7a504540"

GET /shorts/user/filter/Published
Authorization: Bearer <token>
Content-Type: application/json


Response:

{
  "status": 200,
  "success": true,
  "message": "Shorts details fetched successfully",
  "shorts": {
    "shortsData": [
      {
        "shortPostedOn": "2025-10-23T11:16:00.000Z",
        "shortCategory": {
          "shortCategoryName": "Entertainment",
          "shortCategoryStatus": "Active",
          "shortCategoryID": "68c931038bd02cff201894cb"
        },
        "shortReportedDetails": {
          "firstName": "Admin",
          "lastName": "Admin",
          "email": "srinivas.y@cresolinfoserv.com",
          "mobileNumber": 1234567862,
          "role": "Admin",
          "profilePic": "Eyeful-News/Test/Roles/68405f3c73c0f91e76a21b3d-profile.jpeg",
          "roleID": "68405f3c73c0f91e76a21b3d"
        },
        "shortLanguage": {
          "languageName": "తెలుగు",
          "languageID": "68468543c65a2f4251049d74"
        },
        "shortVideoURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/Shorts/68f9c1417b31ffccda5557d5-short.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T055033Z&X-Amz-Expires=120&X-Amz-Signature=4066d7513e915319514320a0dd04ea752560627575cf237963e90e0af3261485&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "shortThumbnailURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/ShortThumbnails/68f9c1417b31ffccda5557d5-short.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T055033Z&X-Amz-Expires=120&X-Amz-Signature=b653a1a4007de7a3220d1482d5dd4bbe146663eed3e70ef6dc270d26133896fd&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "shortStatus": "Published",
        "shortID": "68f9c1417b31ffccda5557d5",
        "createdAt": "2025-10-23T05:46:41.841Z",
        "updatedAt": "2025-10-23T05:46:47.378Z",
        "userActivityData": {
          "user": {
            "userId": "68405f3c73c0f91e76a21b3d",
            "actions": {
              "like": false,
              "dislike": false,
              "share": false,
              "download": false,
              "read": false,
              "isBookmarked": false
            }
          },
          "likes": 0,
          "dislikes": 0,
          "shares": 0,
          "downloads": 0,
          "bookmarks": 0
        },
        "totalComments": 0
      },
      {
        "shortPostedOn": "2025-10-23T09:30:00.000Z",
        "shortCategory": {
          "shortCategoryName": "Entertainment",
          "shortCategoryStatus": "Active",
          "shortCategoryID": "68c931038bd02cff201894cb"
        },
        "shortReportedDetails": {
          "firstName": "Admin",
          "lastName": "Admin",
          "email": "srinivas.y@cresolinfoserv.com",
          "mobileNumber": 1234567862,
          "role": "Admin",
          "profilePic": "Eyeful-News/Test/Roles/68405f3c73c0f91e76a21b3d-profile.jpeg",
          "roleID": "68405f3c73c0f91e76a21b3d"
        },
        "shortLanguage": {
          "languageName": "English",
          "languageID": "68413bdfe7181f45a6050e9e"
        },
        "shortVideoURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/Shorts/68f90107b90ded762430952d-short.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T055033Z&X-Amz-Expires=120&X-Amz-Signature=b7e1a68cfd69c78d95b3888cd574fe955735c27098e0e77ac2d1cc1f4a3b5285&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "shortThumbnailURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/ShortThumbnails/68f90107b90ded762430952d-short.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T055033Z&X-Amz-Expires=120&X-Amz-Signature=4a90836f2412cd7ec0a17859dfff15fbd9cbc36528147a72346f80b539c053dc&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "shortStatus": "Published",
        "shortID": "68f90107b90ded762430952d",
        "createdAt": "2025-10-22T16:06:31.274Z",
        "updatedAt": "2025-10-23T03:43:22.524Z",
        "userActivityData": {
          "user": {
            "userId": "68405f3c73c0f91e76a21b3d",
            "actions": {
              "like": false,
              "dislike": false,
              "share": false,
              "download": false,
              "read": false,
              "isBookmarked": false
            }
          },
          "likes": 0,
          "dislikes": 0,
          "shares": 0,
          "reads": 0,
          "downloads": 2,
          "bookmarks": 0
        },
        "totalComments": 0
      }
    ],
    "pagination": {
      "totalRecords": 2,
      "totalPages": 1,
      "currentPage": 1,
      "pageSize": 15
    }
  }
}

Shorts Based Reporter ID

GET /shorts/reporter/roleId
Authorization: Bearer <token>
Content-Type: application/json


Response:

{
  "status": 200,
  "success": true,
  "message": "Reporter Shorts details fetched successfully",
  "reporterShorts": {
    "publishedReporterShorts": [
      {
        "_id": "68f9c1be7b31ffccda555813",
        "shortPostedOn": "2025-10-24T11:18:00.000Z",
        "shortCategory": {
          "shortCategoryName": "Health",
          "shortCategoryStatus": "Active",
          "shortCategoryID": "68c9310a8bd02cff201894d3"
        },
        "shortReportedDetails": {
          "firstName": "Admin",
          "lastName": "Admin",
          "email": "srinivas.y@cresolinfoserv.com",
          "mobileNumber": 1234567862,
          "role": "Admin",
          "profilePic": "Eyeful-News/Test/Roles/68405f3c73c0f91e76a21b3d-profile.jpeg",
          "roleID": "68405f3c73c0f91e76a21b3d"
        },
        "shortLanguage": {
          "languageName": "English",
          "languageID": "68413bdfe7181f45a6050e9e"
        },
        "shortVideoURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/Shorts/68f9c1be7b31ffccda555814-short.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T060430Z&X-Amz-Expires=120&X-Amz-Signature=d43f36da5c3655defce94f2ae15375d952b064d5a01ff8517f7e90595ce356f0&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "shortThumbnailURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/ShortThumbnails/68f9c1be7b31ffccda555814-short.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T060430Z&X-Amz-Expires=120&X-Amz-Signature=a74591ae8032894bdca18838e68e911e5179f5d1c18ddeccda3a13c67299c5f6&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "shortStatus": "Published",
        "shortID": "68f9c1be7b31ffccda555814",
        "createdAt": "2025-10-23T05:48:46.636Z",
        "updatedAt": "2025-10-23T05:49:42.299Z",
        "userActivityData": {
          "likes": 0,
          "dislikes": 0,
          "shares": 0,
          "downloads": 0
        }
      },
      {
        "_id": "68f9c1417b31ffccda5557d4",
        "shortPostedOn": "2025-10-23T11:16:00.000Z",
        "shortCategory": {
          "shortCategoryName": "Entertainment",
          "shortCategoryStatus": "Active",
          "shortCategoryID": "68c931038bd02cff201894cb"
        },
        "shortReportedDetails": {
          "firstName": "Admin",
          "lastName": "Admin",
          "email": "srinivas.y@cresolinfoserv.com",
          "mobileNumber": 1234567862,
          "role": "Admin",
          "profilePic": "Eyeful-News/Test/Roles/68405f3c73c0f91e76a21b3d-profile.jpeg",
          "roleID": "68405f3c73c0f91e76a21b3d"
        },
        "shortLanguage": {
          "languageName": "తెలుగు",
          "languageID": "68468543c65a2f4251049d74"
        },
        "shortVideoURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/Shorts/68f9c1417b31ffccda5557d5-short.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T060430Z&X-Amz-Expires=120&X-Amz-Signature=bbf782e721317be3b768333504c22e939cbec277a4525a0d62a24f90bbcb1f59&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "shortThumbnailURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/ShortThumbnails/68f9c1417b31ffccda5557d5-short.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T060430Z&X-Amz-Expires=120&X-Amz-Signature=e58f7a0f7e70882b3200b60d710f6d57c0bb11e37d31b3174db0e314002405a5&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "shortStatus": "Published",
        "shortID": "68f9c1417b31ffccda5557d5",
        "createdAt": "2025-10-23T05:46:41.841Z",
        "updatedAt": "2025-10-23T05:46:47.378Z",
        "userActivityData": {
          "likes": 0,
          "dislikes": 0,
          "shares": 0,
          "downloads": 0
        }
      },
      {
        "_id": "68f90107b90ded762430952c",
        "shortPostedOn": "2025-10-23T09:30:00.000Z",
        "shortCategory": {
          "shortCategoryName": "Entertainment",
          "shortCategoryStatus": "Active",
          "shortCategoryID": "68c931038bd02cff201894cb"
        },
        "shortReportedDetails": {
          "firstName": "Admin",
          "lastName": "Admin",
          "email": "srinivas.y@cresolinfoserv.com",
          "mobileNumber": 1234567862,
          "role": "Admin",
          "profilePic": "Eyeful-News/Test/Roles/68405f3c73c0f91e76a21b3d-profile.jpeg",
          "roleID": "68405f3c73c0f91e76a21b3d"
        },
        "shortLanguage": {
          "languageName": "English",
          "languageID": "68413bdfe7181f45a6050e9e"
        },
        "shortVideoURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/Shorts/68f90107b90ded762430952d-short.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T060430Z&X-Amz-Expires=120&X-Amz-Signature=1de52062b01816e3b68bf67169c882376e76e43d40804bd712d506f2193678d5&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "shortThumbnailURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/ShortThumbnails/68f90107b90ded762430952d-short.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T060430Z&X-Amz-Expires=120&X-Amz-Signature=e0701405269a42de3b035724a5b43bb943dc680659fd961b1772c39351f77c2e&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "shortStatus": "Published",
        "shortID": "68f90107b90ded762430952d",
        "createdAt": "2025-10-22T16:06:31.274Z",
        "updatedAt": "2025-10-23T03:43:22.524Z",
        "userActivityData": {
          "likes": 0,
          "dislikes": 0,
          "shares": 0,
          "downloads": 2
        }
      }
    ],
    "pendingReporterShorts": [
      {
        "_id": "68f9014bb90ded762430953f",
        "shortPostedOn": "2025-10-23T09:23:00.000Z",
        "shortCategory": {
          "shortCategoryName": "Entertainment",
          "shortCategoryStatus": "Active",
          "shortCategoryID": "68c931038bd02cff201894cb"
        },
        "shortReportedDetails": {
          "firstName": "Admin",
          "lastName": "Admin",
          "email": "srinivas.y@cresolinfoserv.com",
          "mobileNumber": 1234567862,
          "role": "Admin",
          "profilePic": "Eyeful-News/Test/Roles/68405f3c73c0f91e76a21b3d-profile.jpeg",
          "roleID": "68405f3c73c0f91e76a21b3d"
        },
        "shortLanguage": {
          "languageName": "English",
          "languageID": "68413bdfe7181f45a6050e9e"
        },
        "shortVideoURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/Shorts/68f9014bb90ded7624309540-short.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T060430Z&X-Amz-Expires=120&X-Amz-Signature=c612a795a1917dd605670afd7c41efed691ceaf960124610982ad436816bf919&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "shortThumbnailURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/ShortThumbnails/68f9014bb90ded7624309540-short.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T060430Z&X-Amz-Expires=120&X-Amz-Signature=f2c5194c99f8f55ea3c0c6336d19901477449da7d5325b5b477e588972959f31&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "shortStatus": "Pending",
        "shortID": "68f9014bb90ded7624309540",
        "createdAt": "2025-10-22T16:07:39.171Z",
        "updatedAt": "2025-10-23T03:52:35.283Z"
      }
    ],
    "rejectedReporterShorts": []
  }
}

Single Short By Short ID

GET /shorts/get/shortId
Authorization: Bearer <token>
Content-Type: application/json


Response:

{
  "status": 200,
  "success": true,
  "message": "short details fetched successfully",
  "shorts": {
    "_id": "68f9c1417b31ffccda5557d4",
    "shortPostedOn": "2025-10-23T11:16:00.000Z",
    "shortCategory": {
      "shortCategoryName": "Entertainment",
      "shortCategoryStatus": "Active",
      "shortCategoryID": "68c931038bd02cff201894cb"
    },
    "shortReportedDetails": {
      "firstName": "Admin",
      "lastName": "Admin",
      "email": "srinivas.y@cresolinfoserv.com",
      "mobileNumber": 1234567862,
      "role": "Admin",
      "profilePic": "Eyeful-News/Test/Roles/68405f3c73c0f91e76a21b3d-profile.jpeg",
      "roleID": "68405f3c73c0f91e76a21b3d"
    },
    "shortLanguage": {
      "languageName": "తెలుగు",
      "languageID": "68468543c65a2f4251049d74"
    },
    "shortVideoURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/Shorts/68f9c1417b31ffccda5557d5-short.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T061351Z&X-Amz-Expires=120&X-Amz-Signature=6548886319bec914696546c6e35a7f9cb674f9f16e2fb42cd0fff348877bad6e&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
    "shortThumbnailURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/ShortThumbnails/68f9c1417b31ffccda5557d5-short.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251023%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251023T061351Z&X-Amz-Expires=120&X-Amz-Signature=5059cf40cc0fd10210777e7ee8ee8d4c950c85e260116920d9801ee496a445a9&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
    "shortStatus": "Published",
    "shortID": "68f9c1417b31ffccda5557d5",
    "createdAt": "2025-10-23T05:46:41.841Z",
    "updatedAt": "2025-10-23T05:46:47.378Z",
    "userActivityData": {
      "users": [
        {
          "userId": "68f1ce951f39eb821e0d59f6",
          "actions": {
            "like": true,
            "dislike": false,
            "share": false,
            "download": false,
            "read": false,
            "isBookmarked": false
          },
          "_id": "68f9c6401f39eb821e0da452"
        }
      ],
      "likes": 1,
      "dislikes": 0,
      "shares": 0,
      "downloads": 0
    },
    "comments": [
      {
        "comment": "super",
        "likes": 0,
        "commentID": "68f9c6481f39eb821e0da4bb",
        "commentedAt": "2025-10-23T06:08:08.814Z",
        "users": [],
        "user": {
          "_id": "68f1ce951f39eb821e0d59f5",
          "firstName": "",
          "email": "sunnykanagala888@gmail.com",
          "roleID": "68f1ce951f39eb821e0d59f6"
        },
        "replies": [
          {
            "replyID": "68f9c64e1f39eb821e0da5a0",
            "comment": "ok",
            "likes": 0,
            "user": {
              "_id": "68f1ce951f39eb821e0d59f5",
              "firstName": "",
              "email": "sunnykanagala888@gmail.com",
              "roleID": "68f1ce951f39eb821e0d59f6"
            }
          }
        ]
      }
    ]
  }
}

🆕 Daily Quotes

Create Daily Quotes

POST /dailyQuotes/create
Authorization: Bearer <token>
Content-Type: application/json

{
    "dailyQuoteReportedDetails": "68f0d97b1f39eb821e0d4e8a",
    "dailyQuotePublishDate": "2025-08-11 10:10:13",
    "scheduledDate": "2025-08-11 3:10:13",
    "dailyQuoteLanguage": "68413bdfe7181f45a6050e9e"
}

Response:

{
  "status": 200,
  "success": true,
  "message": "daily Quote created successfully",
  "dailyQuoteID": "68f89ee203c0ceee6436dc72"
}

Update DailyQuote Image/gif By Daily Quote ID

PUT /dailyQuotes/upload/dailyQuoteID
Authorization: Bearer <token>
Content-Type: application/json

{
    "dailyQuoteImage": ""
}

Response:

{
  "status": 200,
  "success": true,
  "message": "daily Quote file uploaded successfully"
}

Daily Quotes By Logged User Activity

Query parameters

days=1 language="67e64b8f2a56ab8f7a504540", fromDate=2025-06-10 endDate=2025-06-12

GET /dailyQuotes/user/filter/Published
Authorization: Bearer <token>
Content-Type: application/json


Response:

  "status": 200,
{
    "success": true,
    "message": "Daily Quotes details fetched successfully",
    "dailyQuotes": {
        "dailyQuotes": [
            {
                "dailyQuoteReportedDetails": {
                    "firstName": "Admin",
                    "lastName": "Admin",
                    "email": "srinivas.y@cresolinfoserv.com",
                    "mobileNumber": 1234567862,
                    "role": "Admin",
                    "profilePic": "Eyeful-News/Test/Roles/68405f3c73c0f91e76a21b3d-profile.jpeg",
                    "roleID": "68405f3c73c0f91e76a21b3d"
                },
                "mediaType": "image",
                "dailyQuoteMediaURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/DailyQuotes/68ff01e85f0c8e50a22bc7d5-dailyQuote.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251027%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251027T062511Z&X-Amz-Expires=120&X-Amz-Signature=704f15f102fe3ab079312c2f32deeb854af826b1dbc7e038f6a0e781200b872d&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
                "isDateScheduled": true,
                "scheduledDate": "2025-10-27T10:53:00.000Z",
                "dailyQuotePublishDate": "2025-10-27T00:00:00.000Z",
                "dailyQuoteLanguage": {
                    "languageName": "తెలుగు",
                    "languageID": "68468543c65a2f4251049d74"
                },
                "dailyQuoteStatus": "Published",
                "dailyQuoteID": "68ff01e85f0c8e50a22bc7d5",
                "createdAt": "2025-10-27T05:23:52.216Z",
                "updatedAt": "2025-10-27T05:23:54.991Z",
                "userActivityData": {
                    "user": {
                        "userId": "68405f3c73c0f91e76a21b3d",
                        "actions": {
                            "like": false,
                            "dislike": false,
                            "share": false,
                            "download": false,
                            "read": false,
                            "isBookmarked": false
                        }
                    },
                    "likes": 1,
                    "dislikes": 0,
                    "shares": 0,
                    "reads": 0,
                    "downloads": 0,
                    "bookmarks": 0
                },
                "totalComments": 1
            },
            {
                "dailyQuoteReportedDetails": {
                    "firstName": "Admin",
                    "lastName": "Admin",
                    "email": "srinivas.y@cresolinfoserv.com",
                    "mobileNumber": 1234567862,
                    "role": "Admin",
                    "profilePic": "Eyeful-News/Test/Roles/68405f3c73c0f91e76a21b3d-profile.jpeg",
                    "roleID": "68405f3c73c0f91e76a21b3d"
                },
                "mediaType": "image",
                "dailyQuoteMediaURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/DailyQuotes/68fe1619e6f0c33a354f67aa-dailyQuote.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251027%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251027T062511Z&X-Amz-Expires=120&X-Amz-Signature=d8650e711e1f388cc64f20edeecfc450444d3c3eb880719f60a9f68eb0c5da87&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
                "isDateScheduled": true,
                "scheduledDate": "2025-10-26T18:07:00.000Z",
                "dailyQuotePublishDate": "2025-10-26T00:00:00.000Z",
                "dailyQuoteLanguage": {
                    "languageName": "English",
                    "languageID": "68413bdfe7181f45a6050e9e"
                },
                "dailyQuoteStatus": "Published",
                "dailyQuoteID": "68fe1619e6f0c33a354f67aa",
                "createdAt": "2025-10-26T12:37:45.433Z",
                "updatedAt": "2025-10-26T12:37:48.214Z",
                "userActivityData": {
                    "user": {
                        "userId": "68405f3c73c0f91e76a21b3d",
                        "actions": {
                            "like": false,
                            "dislike": false,
                            "share": false,
                            "download": false,
                            "read": false,
                            "isBookmarked": false
                        }
                    },
                    "likes": 1,
                    "dislikes": 0,
                    "shares": 0,
                    "reads": 0,
                    "downloads": 0,
                    "bookmarks": 0
                },
                "totalComments": 1
            },
        ],
        "pagination": {
            "totalRecords": 2,
            "totalPages": 1,
            "currentPage": 1,
            "pageSize": 15
        }
    }
}

Daily Quotes Based Reporter ID

GET /dailyQuotes/reporter/roleId
Authorization: Bearer <token>
Content-Type: application/json


Response:

{
  "status": 200,
  "success": true,
  "message": "Reporter Daily Quotes details fetched successfully",
  "reporterQuotes": {
    "publishedReporterQuotes": [
      {
        "_id": "68ff01e85f0c8e50a22bc7d4",
        "dailyQuoteReportedDetails": {
          "firstName": "Admin",
          "lastName": "Admin",
          "email": "srinivas.y@cresolinfoserv.com",
          "mobileNumber": 1234567862,
          "role": "Admin",
          "profilePic": "Eyeful-News/Test/Roles/68405f3c73c0f91e76a21b3d-profile.jpeg",
          "roleID": "68405f3c73c0f91e76a21b3d"
        },
        "mediaType": "image",
        "dailyQuoteMediaURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/DailyQuotes/68ff01e85f0c8e50a22bc7d5-dailyQuote.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251027%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251027T062814Z&X-Amz-Expires=120&X-Amz-Signature=ba81e1997678cbde29e1c862a194b4e260d1b4571f368d4fdc01758a3c7e48ca&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
        "isDateScheduled": true,
        "scheduledDate": "2025-10-27T10:53:00.000Z",
        "dailyQuotePublishDate": "2025-10-27T00:00:00.000Z",
        "dailyQuoteLanguage": {
          "languageName": "తెలుగు",
          "languageID": "68468543c65a2f4251049d74"
        },
        "dailyQuoteStatus": "Published",
        "dailyQuoteID": "68ff01e85f0c8e50a22bc7d5",
        "createdAt": "2025-10-27T05:23:52.216Z",
        "updatedAt": "2025-10-27T05:23:54.991Z",
        "userActivityData": {
          "likes": 1,
          "dislikes": 0,
          "shares": 0,
          "downloads": 0
        }
      }
    ],
    "pendingReporterQuotes": [],
    "rejectedReporterQuotes": []
  }
}

Single Daily Quote By DailyQuote ID

GET /dailyQuotes/get/dailyQuoteID
Authorization: Bearer <token>
Content-Type: application/json


Response:

{
  "status": 200,
  "success": true,
  "message": "Daily Quotes details fetched successfully",
  "dailyQuotes": {
    "dailyQuoteReportedDetails": {
      "firstName": "Admin",
      "lastName": "Admin",
      "email": "srinivas.y@cresolinfoserv.com",
      "mobileNumber": 1234567862,
      "role": "Admin",
      "profilePic": "Eyeful-News/Test/Roles/68405f3c73c0f91e76a21b3d-profile.jpeg",
      "roleID": "68405f3c73c0f91e76a21b3d"
    },
    "mediaType": "image",
    "dailyQuoteMediaURL": "https://eyefylnews.s3.ap-south-1.amazonaws.com/Eyeful-News/Test/DailyQuotes/68fe1607e6f0c33a354f6791-dailyQuote.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA2IDKIZHC5X3OL3UQ%2F20251027%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251027T063251Z&X-Amz-Expires=120&X-Amz-Signature=b6ab1bd381e5f781f5931d999370868ec3eb52440af25952e3f899331ea24bf4&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject",
    "isDateScheduled": true,
    "scheduledDate": "2025-10-26T18:07:00.000Z",
    "dailyQuotePublishDate": "2025-10-26T00:00:00.000Z",
    "dailyQuoteLanguage": {
      "languageName": "తెలుగు",
      "languageID": "68468543c65a2f4251049d74"
    },
    "dailyQuoteStatus": "Published",
    "dailyQuoteID": "68fe1607e6f0c33a354f6791",
    "userActivityData": {
      "users": [
        {
          "userId": "68fe6cc86462fbc388c77d01",
          "actions": {
            "like": true,
            "dislike": false,
            "share": false,
            "download": false,
            "read": false,
            "isBookmarked": false
          },
          "_id": "68ff0f35b876c19928c5db11"
        }
      ],
      "likes": 1,
      "dislikes": 0,
      "shares": 0,
      "downloads": 0
    },
    "comments": [
      {
        "comment": "hi",
        "likes": 0,
        "commentID": "68ff0f39b876c19928c5db8d",
        "commentedAt": "2025-10-27T06:20:41.466Z",
        "users": [],
        "user": {
          "_id": "68fe6cc86462fbc388c77d00",
          "firstName": "",
          "email": "meranna60@gmail.com",
          "roleID": "68fe6cc86462fbc388c77d01"
        },
        "replies": [
          {
            "replyID": "68ff0f43b876c19928c5dd47",
            "comment": "hye",
            "likes": 0,
            "likedUsers": [],
            "user": {
              "_id": "68fe6cc86462fbc388c77d00",
              "firstName": "",
              "email": "meranna60@gmail.com",
              "roleID": "68fe6cc86462fbc388c77d01"
            }
          }
        ]
      }
    ]
  }
}

Update Daily Quote By DailyQuote ID

PUT /dailyQuotes/update/dailyQuoteID
Authorization: Bearer <token>
Content-Type: application/json

{
    "dailyQuotePostedOn":"2025-03-31"
}

Response:

{
  "status": 200,
  "success": true,
  "message": "dailyQuote update successfully"
}

🆕 Comments and Replies

** Add Comment to Content By ID**

=>contentID means PostId or ShortId or QuoteId => userId means roleID =>contentType is means Short or Post or Quote

POST /content/comment/add
Authorization: Bearer <token>
Content-Type: application/json

{
    "contentType": "Short",
    "userID": "688c667f0edef7f9d72445ee",
    "contentID": "68888dc25de6796dd4d49dec",
    "comment": "this is not fare"
}

Response:

{
  "status": 200,
  "success": true,
  "message": "Comment created successfully",
  "commentID": "69004f906f2fa1d9f717146c"
}

Add Replies to Comment ID

=>userID is means roleId

POST /content/comment/reply/CommentID
Authorization: Bearer <token>
Content-Type: application/json


{
  "userID": "688211fa98c278b1f37c7128",
  "comment": "This is a hi"
}

Response:

{
  "status": 200,
  "success": true,
  "message": "Reply to Comment created successfully",
  "replyID": "6900506b6f2fa1d9f7171470"
}

Main Comment By commentId

PUT /content/comment/update/commentId
Authorization: Bearer <token>
Content-Type: application/json

{
     "newComment": "bye"
}

Response:

{
  "status": 200,
  "success": true,
  "message": "Comment details updated successfully."
}

Update Reply Comment By commentId

PUT /content/comment/reply/update/commentId?replyID=(replyId)

Authorization: Bearer <token>
Content-Type: application/json

{
     "newReply": "bye"
}

Response:

{
  "status": 200,
  "success": true,
  "message": "Reply Comment details updated successfully."
}

Main Comment By commentId

DELETE /content/comment/delete/commentId

Authorization: Bearer <token>
Content-Type: application/json

{
  "status": 200,

  "success": true,
  "message": "Comment successfully.",
  "commentID": "69004f906f2fa1d9f717146c"
}

Reply Comment By commentId

DELETE /content/comment/delete/replyCommit/commentId?replyID=(replyId)

Authorization: Bearer <token>
Content-Type: application/json

{
  "status": 200,
  "success": true,
  "message": "Reply Comment successfully."
}

User Activity

Create User Activity

=>contentID means PostId or ShortId or QuoteId =>action is read or like and dislike and download or Job => userId means roleID

POST /activity/action
Authorization: Bearer <token>
Content-Type: application/json

{
    "contentID": "jobID",
    "userId": "68f337701f39eb821e0d6dbe",
    "contentType": "Job",
    "action": "read"
}


Response:

{
  "status": 200,
  "success": true,
  "message": "activity created successfully"
}

Bookmarks

Create or Update Bookmark

=>contentID means PostId or ShortId or QuoteId =>action is read or like and dislike and download or Job => userId means roleID

POST /bookmark/add
Authorization: Bearer <token>
Content-Type: application/json

{
    "contentType": "Post",
    "contentID": "6867c5705f6c44e188f13517",
    "userId": "68553813130e2bd8b43f8f70"
}


Response:

{
  "success": true,
  "message": "Bookmark created successfully",
  "added": true,
  "bookmark": {
    "contentType": "Post",
    "contentID": "6867c5705f6c44e188f13517",
    "userId": "68553813130e2bd8b43f8f70",
    "_id": "68ff400e1c0ffff6a79c6de1",
    "createdAt": "2025-10-27T09:49:02.247Z",
    "updatedAt": "2025-10-27T09:49:02.247Z"
  }
}

Bookmarks By UserID

UserID means roleId

GET /bookmark/get/roleId
Authorization: Bearer <token>
Content-Type: application/json

Response:

{
  "status": 200,
  "success": true,
  "message": "Bookmarks details fetched successfully",
  "bookmarks": [
    {
      "_id": "68ff400e1c0ffff6a79c6de1",
      "contentType": "Post",
      "contentID": "6867c5705f6c44e188f13517",
      "userId": "68553813130e2bd8b43f8f70",
      "createdAt": "2025-10-27T09:49:02.247Z",
      "updatedAt": "2025-10-27T09:49:02.247Z"
    }
  ]
}

languages

Single language By language ID

GET /language/get/languageID
Authorization: Bearer <token>
Content-Type: application/json

Response:

{
  "status": 200,
  "success": true,
  "message": "language details fetched successfully",
  "languageData": {
    "_id": "68468543c65a2f4251049d73",
    "languageName": "తెలుగు",
    "languageStatus": "Active",
    "languageID": "68468543c65a2f4251049d74",
    "createdAt": "2025-06-09T06:54:59.700Z",
    "updatedAt": "2025-10-24T09:00:57.384Z",
    "nativeName": "ఆ"
  }
}

Get Active languages

Query parameters

GET /language/filter/Active
Authorization: Bearer <token>
Content-Type: application/json


Response:

{
  "status": 200,
  "success": true,
  "message": "Languages details fetched successfully",
  "languageData": {
    "activeLanguages": [
      {
        "_id": "68468543c65a2f4251049d73",
        "languageName": "తెలుగు",
        "languageStatus": "Active",
        "languageID": "68468543c65a2f4251049d74",
        "createdAt": "2025-06-09T06:54:59.700Z",
        "updatedAt": "2025-10-24T09:00:57.384Z",
        "nativeName": "ఆ"
      },
      {
        "_id": "684683acc65a2f4251049c67",
        "languageName": "Slovakia",
        "languageStatus": "Active",
        "languageID": "684683acc65a2f4251049c68",
        "createdAt": "2025-06-09T06:48:12.350Z",
        "updatedAt": "2025-10-24T09:01:02.090Z",
        "nativeName": "Aa"
      },
      {
        "_id": "68413bdfe7181f45a6050e9d",
        "languageName": "English",
        "languageStatus": "Active",
        "languageID": "68413bdfe7181f45a6050e9e",
        "createdAt": "2025-06-05T06:40:31.637Z",
        "updatedAt": "2025-10-24T09:01:06.605Z",
        "nativeName": "Aa"
      }
    ]
  }
}

locations

Single Location By Location ID

GET /location/get/locationID
Authorization: Bearer <token>
Content-Type: application/json

Response:

{
  "status": 200,

  "success": true,
  "message": "Location details fetched successfully",
  "locationData": {
    "_id": "68f754bc5478eca4f4360373",
    "locationName": "Hyderabad",
    "locationStatus": "Active",
    "locationID": "68f754bc5478eca4f4360374",
    "createdAt": "2025-10-21T09:39:08.761Z",
    "updatedAt": "2025-10-24T09:13:32.488Z"
  }
}

Get Active Locations

Query parameters

search="hyderabad"

GET /location/filter/Active
Authorization: Bearer <token>
Content-Type: application/json


Response:

{
  "status": 200,
  "success": true,
  "message": "Locations details fetched successfully",
  "locationData": {
    "locations": [
      {
        "_id": "68fefb185f0c8e50a22bc56a",
        "locationName": "Kankipadu",
        "locationStatus": "Active",
        "locationID": "68fefb185f0c8e50a22bc56b",
        "createdAt": "2025-10-27T04:54:48.614Z",
        "updatedAt": "2025-10-27T04:54:48.614Z"
      },
      {
        "_id": "68fb0c156462fbc388c73ddb",
        "locationName": "Erode Town",
        "locationStatus": "Active",
        "locationID": "68fb0c156462fbc388c73ddc",
        "createdAt": "2025-10-24T05:18:13.720Z",
        "updatedAt": "2025-10-24T09:12:33.816Z"
      }
    ]
  }
}

Translate words

Single Translate word By TranslateID

GET /translate/get/translateID
Authorization: Bearer <token>
Content-Type: application/json

Response:

{
  "status": 200,
  "success": true,
  "message": "translate word details fetched successfully",
  "translateData": {
    "name": "Enter your email",
    "data": {
      "english": "Enter your email",
      "telugu": "మీ ఇమెయిల్ నమోదు చేయండి",
      "slovakiaWord": "Zadajte svoj e-mail",
      "_id": "68e74d6f242bcd0d46c34cf6"
    },
    "translateStatus": "Active",
    "translateID": "68e74d6f242bcd0d46c34cf7"
  }
}

Translate words

GET /translate/get
Authorization: Bearer <token>
Content-Type: application/json

Response:

{
  "success": true,
  "message": "translate words details fetched successfully",
  "translateData": {
    "translateData": [
      {
        "name": "No jobs found",
        "data": {
          "english": "No jobs found",
          "telugu": "ఉద్యోగాలు కనబడలేదు",
          "slovakiaWord": "Nenašli sa žiadne pracovné miesta",
          "_id": "68f9f8e6811733c718214b22"
        },
        "translateStatus": "Active",
        "translateID": "68f9f8e6811733c718214b23"
      },
      {
        "name": "No posts found",
        "data": {
          "english": "No posts found",
          "telugu": "పోస్టులు కనబడలేదు",
          "slovakiaWord": "Nenašli sa žiadne príspevky",
          "_id": "68f8f2246d46ee74e7708bdf"
        },
        "translateStatus": "Active",
        "translateID": "68f8f2246d46ee74e7708be0"
      }
    ],
    "pagination": {
      "totalRecords": 90,
      "totalPages": 6,
      "currentPage": 1,
      "pageSize": 15
    }
  }
}

Translate words by Name wise

Query parameters

telugu=true slovakiaWord=true english=true

GET /translate/getByNameWise?slovakiaWord=true
Authorization: Bearer <token>
Content-Type: application/json


Response:

{
  "status": 200,
  "success": true,
  "message": "translate words details fetched successfully",
  "translateData": {
    "No jobs found": "ఉద్యోగాలు కనబడలేదు",
    "No posts found": "పోస్టులు కనబడలేదు",
    "No daily quotes found": "రోజువారీ కోట్స్ కనబడలేదు",
    "No novels found": "నవలలు కనిపించలేదు",
    "No short videos found": "చిన్న వీడియోలు కనిపించలేదు",
    "No offers found": "ఆఫర్లు ఏవీ లభించలేదు",
    "Re-Enter Password": "మళ్లీ పాస్‌వర్డ్ నమోదు చేయండి",
    "Enter OTP": "OTP నమోదు చేయండి",
    "Enter you email and verify your mail": "మీ ఇమెయిల్ నమోదు చేసి దాన్ని ధృవీకరించండి"
  }
}

Notifications

Get Notifications By RoleId

GET /notifications/get/roleId
Authorization: Bearer <token>
Content-Type: application/json

Response:

{
  "success": true,
  "message": "Notifications details fetched successfully",
  "notifications": [
    {
      "roleID": "690adeb2e4e6aedf02f18d9d",
      "contentID": "690459f4e4e6aedf02f145e0",
      "contentType": "Post",
      "message": ", the Stocks post you have posted is Published",
      "status": "Active",
      "notificationID": "690ae3b822e0d3bb8fe3243c",
      "createdAt": "2025-11-05T05:42:16.510Z",
      "updatedAt": "2025-11-05T05:42:16.510Z",
      "reporterDetails": {
        "firstName": "",
        "lastName": "",
        "email": "priyakota84@gmail.com",
        "mobileNumber": 0,
        "role": "User",
        "profilePic": "https://icon-library.com/images/anonymous-avatar-icon/anonymous-avatar-icon-25.jpg"
      }
    }
  ]
}