Overview

Summary

ContactDonateImprint


7. USER MODULE (UI prompt)



Module Entities (25)

EntityAliasModuleGlobal Schema
(1) AdAdAdModuleYouTubeCom
(2) AdImpressionAdImpressionUserModuleYouTubeCom
(3) BlockedUserBlockedUserLiveStreamModuleYouTubeCom
(4) ChannelChannelChannelModuleYouTubeCom
(5) ChannelMemberChannelMemberUserModuleYouTubeCom
(6) CommentCommentCommentModuleYouTubeCom
(7) CommentLikeCommentLikeCommentModuleYouTubeCom
(8) CommentReportCommentReportUserModuleYouTubeCom
(9) DeviceDeviceDeviceModuleYouTubeCom
(10) LiveChatMessageLiveChatMessageLiveStreamModuleYouTubeCom
(11) NotificationNotificationAdModuleYouTubeCom
(12) PlaylistVideoPlaylistVideoPlaylistModuleYouTubeCom
(13) SearchQuerySearchQueryUserModuleYouTubeCom
(14) SubscriptionSubscriptionChannelModuleYouTubeCom
(15) UserUserUserModuleYouTubeCom
(16) UserFavoriteUserFavoriteDeviceModuleYouTubeCom
(17) UserFeedItemUserFeedItemChannelModuleYouTubeCom
(18) UserProfileUserProfilePlaylistModuleYouTubeCom
(19) UserSessionUserSessionDeviceModuleYouTubeCom
(20) VideoVideoVideoModuleYouTubeCom
(21) VideoLikeVideoLikeVideoModuleYouTubeCom
(22) VideoReportVideoReportVideoModuleYouTubeCom
(23) VideoViewVideoViewDeviceModuleYouTubeCom
(24) WatchHistoryWatchHistoryVideoModuleYouTubeCom
(25) WatchLaterWatchLaterUserModuleYouTubeCom

Module Interfaces (42)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /watchlater/{id}findWatchLaterById(id)UserModuleGETWatchLater
(2) /searchqueryfindAllSearchQuery()UserModuleGETSearchQuery
(3) /commentreportinsertCommentReport(commentreport)UserModulePOSTCommentReport
(4) /channelmember/{id}findChannelMemberById(id)UserModuleGETChannelMember
(5) /user/{id}deleteUserById(id)UserModuleDELETEUser
(6) /adimpression/user/{id}findAllAdImpressionOfUser(id)UserModuleGETUser AdImpression
(7) /channelmember/{id}updateChannelMemberById(channelmember)UserModulePUTChannelMember
(8) /watchlater/video/{id}findAllWatchLaterOfVideo(id)UserModuleGETVideo WatchLater
(9) /adimpression/{id}updateAdImpressionById(adimpression)UserModulePUTAdImpression
(10) /searchquery/user/{id}findAllSearchQueryOfUser(id)UserModuleGETUser SearchQuery
(11) /commentreport/reporteruser/{id}findAllCommentReportOfReporterUser(id)UserModuleGETUser CommentReport
(12) /channelmember/channel/{id}findAllChannelMemberOfChannel(id)UserModuleGETChannel ChannelMember
(13) /adimpressionfindAllAdImpression()UserModuleGETAdImpression
(14) /commentreport/{id}updateCommentReportById(commentreport)UserModulePUTCommentReport
(15) /commentreport/comment/{id}findAllCommentReportOfComment(id)UserModuleGETComment CommentReport
(16) /searchquery/{id}updateSearchQueryById(searchquery)UserModulePUTSearchQuery
(17) /adimpression/{id}findAdImpressionById(id)UserModuleGETAdImpression
(18) /adimpressioninsertAdImpression(adimpression)UserModulePOSTAdImpression
(19) /watchlater/{id}deleteWatchLaterById(id)UserModuleDELETEWatchLater
(20) /commentreport/resolvedbyuser/{id}findAllCommentReportOfResolvedByUser(id)UserModuleGETUser CommentReport
(21) /commentreportfindAllCommentReport()UserModuleGETCommentReport
(22) /channelmember/{id}deleteChannelMemberById(id)UserModuleDELETEChannelMember
(23) /adimpression/{id}deleteAdImpressionById(id)UserModuleDELETEAdImpression
(24) /searchquery/{id}deleteSearchQueryById(id)UserModuleDELETESearchQuery
(25) /adimpression/video/{id}findAllAdImpressionOfVideo(id)UserModuleGETVideo AdImpression
(26) /commentreport/{id}findCommentReportById(id)UserModuleGETCommentReport
(27) /user/{id}updateUserById(user)UserModulePUTUser
(28) /userfindAllUser()UserModuleGETUser
(29) /channelmember/user/{id}findAllChannelMemberOfUser(id)UserModuleGETUser ChannelMember
(30) /commentreport/{id}deleteCommentReportById(id)UserModuleDELETECommentReport
(31) /watchlaterinsertWatchLater(watchlater)UserModulePOSTWatchLater
(32) /user/{id}findUserById(id)UserModuleGETUser
(33) /adimpression/ad/{id}findAllAdImpressionOfAd(id)UserModuleGETAd AdImpression
(34) /channelmemberinsertChannelMember(channelmember)UserModulePOSTChannelMember
(35) /adimpression/device/{id}findAllAdImpressionOfDevice(id)UserModuleGETDevice AdImpression
(36) /watchlater/user/{id}findAllWatchLaterOfUser(id)UserModuleGETUser WatchLater
(37) /watchlaterfindAllWatchLater()UserModuleGETWatchLater
(38) /userinsertUser(user)UserModulePOSTUser
(39) /channelmemberfindAllChannelMember()UserModuleGETChannelMember
(40) /searchqueryinsertSearchQuery(searchquery)UserModulePOSTSearchQuery
(41) /searchquery/{id}findSearchQueryById(id)UserModuleGETSearchQuery
(42) /watchlater/{id}updateWatchLaterById(watchlater)UserModulePUTWatchLater






7.1 AD IMPRESSION


AdImpressionUserModuleYouTubeCom

Properties (7)

PropertyTypeEntityReferenceModule
(1) AdLONGAdImpressionAdAdModule
(2) ClickedAtDATEAdImpression
(3) DeviceLONGAdImpressionDeviceDeviceModule
(4) ImpressionAtDATEAdImpression
(5) RevenueMicrosLONGAdImpression
(6) UserLONGAdImpressionUserUserModule
(7) VideoLONGAdImpressionVideoVideoModule





Example:

final AdImpression adimpression = (AdImpression) invokeModule(USER_MODULE + "/adimpression/" + id, AdImpression.class);
if (adimpression != null) {
    final Video video1 = (Video) invokeModule(VIDEO_MODULE + "/video/" + adimpression.getVideo().getId(), Video.class);
    if (video1 != null) {
        final Category category2 = (Category) invokeModule(AD_MODULE + "/category/" + video1.getCategory().getId(), Category.class);
        if (category2 != null) {
        }
        final Channel channel3 = (Channel) invokeModule(CHANNEL_MODULE + "/channel/" + video1.getChannel().getId(), Channel.class);
        if (channel3 != null) {
            final User owneruser4 = (User) invokeModule(USER_MODULE + "/user/" + channel3.getOwnerUser().getId(), User.class);
            if (owneruser4 != null) {
            }
        }
    }
    final Ad ad5 = (Ad) invokeModule(AD_MODULE + "/ad/" + adimpression.getAd().getId(), Ad.class);
    if (ad5 != null) {
    }
    final User user6 = (User) invokeModule(USER_MODULE + "/user/" + adimpression.getUser().getId(), User.class);
    if (user6 != null) {
    }
    final Device device7 = (Device) invokeModule(DEVICE_MODULE + "/device/" + adimpression.getDevice().getId(), Device.class);
    if (device7 != null) {
    }
}
return adimpression;


7.2 CHANNEL MEMBER


ChannelMemberUserModuleYouTubeCom

Properties (4)

PropertyTypeEntityReferenceModule
(1) ChannelLONGChannelMemberChannelChannelModule
(2) CreatedAtDATEChannelMember
(3) RoleSTRINGChannelMember
(4) UserLONGChannelMemberUserUserModule





Example:

final ChannelMember channelmember = (ChannelMember) invokeModule(USER_MODULE + "/channelmember/" + id, ChannelMember.class);
if (channelmember != null) {
    final User user1 = (User) invokeModule(USER_MODULE + "/user/" + channelmember.getUser().getId(), User.class);
    if (user1 != null) {
    }
    final Channel channel2 = (Channel) invokeModule(CHANNEL_MODULE + "/channel/" + channelmember.getChannel().getId(), Channel.class);
    if (channel2 != null) {
        final User owneruser3 = (User) invokeModule(USER_MODULE + "/user/" + channel2.getOwnerUser().getId(), User.class);
        if (owneruser3 != null) {
        }
    }
}
return channelmember;


7.3 COMMENT REPORT


CommentReportUserModuleYouTubeCom

Properties (8)

PropertyTypeEntityReferenceModule
(1) CommentLONGCommentReportCommentCommentModule
(2) CreatedAtDATECommentReport
(3) DescriptionSTRINGCommentReport
(4) ReasonCodeSTRINGCommentReport
(5) ReporterUserLONGCommentReportUserUserModule
(6) ResolvedAtDATECommentReport
(7) ResolvedByUserLONGCommentReportUserUserModule
(8) StatusSTRINGCommentReport





Example:

final CommentReport commentreport = (CommentReport) invokeModule(USER_MODULE + "/commentreport/" + id, CommentReport.class);
if (commentreport != null) {
    final User reporteruser1 = (User) invokeModule(USER_MODULE + "/user/" + commentreport.getReporterUser().getId(), User.class);
    if (reporteruser1 != null) {
    }
    final Comment comment2 = (Comment) invokeModule(COMMENT_MODULE + "/comment/" + commentreport.getComment().getId(), Comment.class);
    if (comment2 != null) {
        final Video video3 = (Video) invokeModule(VIDEO_MODULE + "/video/" + comment2.getVideo().getId(), Video.class);
        if (video3 != null) {
            final Category category4 = (Category) invokeModule(AD_MODULE + "/category/" + video3.getCategory().getId(), Category.class);
            if (category4 != null) {
            }
            final Channel channel5 = (Channel) invokeModule(CHANNEL_MODULE + "/channel/" + video3.getChannel().getId(), Channel.class);
            if (channel5 != null) {
                final User owneruser6 = (User) invokeModule(USER_MODULE + "/user/" + channel5.getOwnerUser().getId(), User.class);
                if (owneruser6 != null) {
                }
            }
        }
        final User user7 = (User) invokeModule(USER_MODULE + "/user/" + comment2.getUser().getId(), User.class);
        if (user7 != null) {
        }
    }
    final User resolvedbyuser8 = (User) invokeModule(USER_MODULE + "/user/" + commentreport.getResolvedByUser().getId(), User.class);
    if (resolvedbyuser8 != null) {
    }
}
return commentreport;


7.4 SEARCH QUERY


SearchQueryUserModuleYouTubeCom

Properties (6)

PropertyTypeEntityReferenceModule
(1) ExecutedAtDATESearchQuery
(2) FiltersJsonSTRINGSearchQuery
(3) LanguageSTRINGSearchQuery
(4) QueryTextSTRINGSearchQuery
(5) ResultCountApproxLONGSearchQuery
(6) UserLONGSearchQueryUserUserModule





Example:

final SearchQuery searchquery = (SearchQuery) invokeModule(USER_MODULE + "/searchquery/" + id, SearchQuery.class);
if (searchquery != null) {
    final User user1 = (User) invokeModule(USER_MODULE + "/user/" + searchquery.getUser().getId(), User.class);
    if (user1 != null) {
    }
}
return searchquery;


7.5 USER


UserUserModuleYouTubeCom

Properties (11)

PropertyTypeEntityReferenceModule
(1) AvatarUrlSTRINGUser
(2) CountrySTRINGUser
(3) CreatedAtDATEUser
(4) DisplayNameSTRINGUser
(5) EmailSTRINGUser
(6) HandleSTRINGUser
(7) IsVerifiedBOOLUser
(8) LanguageSTRINGUser
(9) PasswordHashSTRINGUser
(10) StatusSTRINGUser
(11) UpdatedAtDATEUser





Example:

final User user = (User) invokeModule(USER_MODULE + "/user/" + id, User.class);
if (user != null) {
}
return user;


7.6 WATCH LATER


WatchLaterUserModuleYouTubeCom

Properties (3)

PropertyTypeEntityReferenceModule
(1) AddedAtDATEWatchLater
(2) UserLONGWatchLaterUserUserModule
(3) VideoLONGWatchLaterVideoVideoModule





Example:

final WatchLater watchlater = (WatchLater) invokeModule(USER_MODULE + "/watchlater/" + id, WatchLater.class);
if (watchlater != null) {
    final User user1 = (User) invokeModule(USER_MODULE + "/user/" + watchlater.getUser().getId(), User.class);
    if (user1 != null) {
    }
    final Video video2 = (Video) invokeModule(VIDEO_MODULE + "/video/" + watchlater.getVideo().getId(), Video.class);
    if (video2 != null) {
        final Category category3 = (Category) invokeModule(AD_MODULE + "/category/" + video2.getCategory().getId(), Category.class);
        if (category3 != null) {
        }
        final Channel channel4 = (Channel) invokeModule(CHANNEL_MODULE + "/channel/" + video2.getChannel().getId(), Channel.class);
        if (channel4 != null) {
            final User owneruser5 = (User) invokeModule(USER_MODULE + "/user/" + channel4.getOwnerUser().getId(), User.class);
            if (owneruser5 != null) {
            }
        }
    }
}
return watchlater;


Overview

Summary

ContactDonateImprint