Home feed - GluedIn
Feed SDK Methods
Method Method detail
getFeedData() Used to fetch the list of feed videos.
getCuratedTopRail() Used to get curated top users/profiles data.
getContentLikeCount() Used to get all liked status against the video id list passed as parameter.
getContentReportOptions() Used to fetch all report options to report a video or a user or a comment so that user can select those options and submit a report using submitReport() method.
postContentReport() Used to submit the selected report option to report a video or a user or a comment
  • Fetch Video List
    API Class : FeedInteractor
    Method : getFeedData()
    Used to fetch the list of feed videos.
    API Request:
    • Request Object : FeedParams
    • Parameters
    • limit: How many notifications you want in a single response
    • offset: it's the current page/offset
    API Response:
    • Response Object : HomeFeed
    • StatusCode : It returns an API status code (like 200,201,500,401)
    • Success: It returns boolean value, (true/false)
    • Message: It is a simple string message
    • Page : it return page
    • Total : it return total page
    • PerPage : it return current page
    • ListVideo : it return list of video
  • For Top Profile List
    API Class : FeedInteractor
    Method : getCuratedTopRail()
    Used to get curated top users/profiles data.
    API Response:
    • Response Object : WidgetResponse
    • Message: It is a simple string message
    • StatusCode : It returns an API status code (like 200,201,500,401)
    • Success: It returns boolean value, (true/false)
    • error: It is a error message in string
    • Page : it return page
    • Total : it return total page
    • PerPage : it return current page
    • data : Returns profile widget data
  • For Videos Like List
    API Class : FeedInteractor
    Method : getContentLikeCount()
    Used to get all liked status against the video id list passed as parameter.
    API Request:
    • Request Object : VideosLikeRequest
    • Parameters
    • videoIds : list of video idse
    API Response:
  • To Fetch Report Options
    API Class : FeedInteractor
    Method : getContentReportOptions()
    Used to fetch all report options to report a video or a user or a comment so that user can select those options and submit a report using submitReport() method.
    API Request:
    API Response:
    • Response Object : ReportOptions
    • Message: It is a simple string message
    • StatusCode : It returns an API status code (like 200,201,500,401)
    • Success: It returns boolean value, (true/false)
    • data: it returns list of report options for video, user and comment
  • For Submitting Report option
    API Class : FeedInteractor
    Method : postContentReport()
    Used to submit the selected report option to report a video or a user or a comment
    API Request:
    • Request Object : ReportReqDto
    • Parameters
    • limit: How many notifications you want in a single response
    • offset: it's the current page/offset
    API Response:
    • Response Object : ReportResponse
    • Message: It is a simple string message
    • StatusCode : It returns an API status code (like 200,201,500,401)
    • Success: It returns boolean value, (true/false)
    • data: it returns report related data