PeerTube
Search documentation…
/
UserRole
PeerTube
Introduction
Authentication
Static endpoints
Static Video Files
Download
Video Download
Feeds
Video Feeds
Auth
Register
Session
Accounts
Accounts
Users
User Exports
User Imports
My User
My Subscriptions
My Notifications
My History
Videos
Video
Video Upload
Video Imports
Video Captions
Video Chapters
Video Channels
Video Comments
Video Rates
Video Playlists
Video Stats
Ownership Change
Video Mirroring
Video Files
Video Transcoding
Live Videos
Channels Sync
Video Passwords
Video Embed Privacy
Search
Search
Moderation
Abuses
Video Blocks
Account Blocklist
Server Blocklist
Automatic Tags
Watched Words
Instance
Config
Client Config
Homepage
Instance Follows
Instance Redundancy
Plugins
Stats
Logs
Job
Remote Jobs
Runner Registration Token
Runner Jobs
Runners
Player Settings
Contact
Debug
Videos
Models
id
UUIDv4
shortUUID
username
usernameChannel
password
currentPassword
VideoCategorySet
VideoConstantNumber-Category
VideoLicenceSet
VideoConstantNumber-Licence
VideoLanguageSet
VideoConstantString-Language
VideoPlaylistPrivacySet
VideoPlaylistPrivacyConstant
VideoPlaylistTypeSet
VideoPlaylistTypeConstant
VideoPrivacySet
VideoPrivacyConstant
VideoCommentsPolicySet
VideoCommentsPolicyConstant
VideoRecommendationScopeSet
VideoRecommendationScopeConstant
VideoAIUsageSet
VideoAIUsageConstant
VideoCommercialContentSet
VideoCommercialContentConstant
BlockStatus
NSFWPolicy
NSFWFlag
UserRole
UserAdminFlags
LiveVideoLatencyMode
LiveVideoReplaySettings
VideoChannelActivityAction
VideoChannelActivityTarget
VideoStateConstant
UserExportState
UserImportState
AbuseStateSet
AbuseStateConstant
AbusePredefinedReasons
VideoResolutionSet
VideoResolutionConstant
VideoScheduledUpdate
AccountSummary
VideoSummary
VideoChannelSummary
PlaylistElement
Thumbnail
VideoFile
VideoStreamingPlaylists
VideoStreamingPlaylists-HLS
VideoInfo
Video
ServerError
VideoDetails
FileRedundancyInformation
VideoRedundancy
AccountBlock
ServerBlock
BlocklistSubscription
BlocklistSubscriptionSummary
BlocklistLog
AutoMuteList
CommentAutoTagPolicies
VideoAutoTagPolicies
AutomaticTagAvailable
VideoImportStateConstant
VideoCreateImport
VideoImport
VideoImportsList
Abuse
AbuseMessage
VideoBlacklist
VideoBlacklistCreate
VideoBlacklistUpdate
ChangeOwnership
VideoPlaylist
VideoComment
VideoCommentThreadTree
VideoCommentForOwnerOrAdmin
Storyboard
VideoCaption
VideoChapters
PodcastChapters
VideoSource
ActorImage
ActorInfo
Actor
Account
UserViewingVideo
VideoStatsOverall
VideoStatsUserAgentDevice
VideoStatsUserAgent
VideoStatsRetention
VideoStatsTimeserie
ServerConfig
SendClientLog
ServerStats
ServerConfigAbout
InstanceTranslation
ServerConfigCustom
CustomHomepage
Follow
PredefinedAbuseReasons
JobType
Job
AddUserResponse
VideoUploadRequestCommon
VideoUploadRequestLegacy
VideoUploadRequestResumable
VideoUploadResponse
VideoReplaceSourceRequestResumable
UserImportResumable
CommentThreadResponse
CommentThreadPostResponse
VideoTokenResponse
VideoListResponse
ChannelActivityListResponse
UserNotificationSettings
User
UserWithStats
AddUser
UpdateUser
UpdateMe
GetMeVideoRating
VideoRating
RegisterUser
UserRegistrationRequest
UserRegistrationAcceptOrReject
AuditLogAction
AuditLogEntityType
AuditLog
UserRegistrationState
ChangeOwnershipState
UserRegistration
OAuthClient
OAuthToken-password
OAuthToken-refresh_
token
VideoChannel
VideoChannelEdit
VideoChannelCreate
VideoChannelUpdate
VideoChannelList
ImportVideosInChannelCreate
VideoChannelSync
VideoChannelSyncList
VideoChannelSyncCreate
MRSSPeerLink
MRSSGroupContent
VideoCommentsForXML
VideosForXML
NotificationSettingValue
NotificationType
NewFeatureInfoType
Notification
NotificationListResponse
Plugin
PluginResponse
LiveVideoUpdate
LiveVideoResponse
LiveSchedule
TokenSession
RequestTwoFactorResponse
VideoStudioCreateTask
LiveVideoSessionResponse
PlaybackMetricCreate
RunnerRegistrationToken
Runner
RunnerJobType
RunnerJobState
RunnerJobStateConstant
RunnerJobPayload
RunnerJob
RunnerJobAdmin
WatchedWordsLists
WatchedWordsSubscription
VideoPassword
VideoPasswordList
AddVideoPasswords
VideoEmbedPrivacy
PlayerTheme
PlayerThemeChannelSetting
PlayerThemeVideoSetting
PlayerVideoSettings
PlayerChannelSettings
PlayerVideoSettingsUpdate
PlayerChannelSettingsUpdate
FileStorage
VideoChannelCollaborator
VideoChannelCollaboratorState
Models
UserRole
integer
The user role (Admin =
0
, Moderator =
1
, User =
2
)
UserRole
0
1
2
Example
2
Copy
Copy
← Previous
NSFWFlag
Next →
UserAdminFlags
Docs by Sourcey