Endpoints

/achievements

get /achievements

/broadcasts

get /broadcasts/current
get /broadcasts/{broadcastId}
get /broadcasts/{broadcastId}/manifest.{type}

/channels

get /channels
get /channels/{channelIdOrToken}
get /channels/{channelIdOrToken}/details
put /channels/{channelId}
patch /channels/{channelId}
get /channels/{channelId}/analytics/viewers
get /channels/{channelId}/analytics/tsdb/viewers
get /channels/{channelId}/analytics/tsdb/viewersMetrics
get /channels/{channelId}/analytics/tsdb/streamSessions
get /channels/{channelId}/analytics/tsdb/streamHosts
get /channels/{channelId}/analytics/tsdb/subscriptions
get /channels/{channelId}/analytics/tsdb/followers
get /channels/{channelId}/analytics/tsdb/gameRanksGlobal
get /channels/{channelId}/analytics/tsdb/subRevenue
get /channels/{channelId}/analytics/tsdb/cpm
get /channels/{channelId}/analytics/tsdb/viewerSessionCount
post /channels/{channelId}/badge
get /channels/{channelId}/follow
put /channels/{channelId}/follow
post /channels/{channelId}/follow
delete /channels/{channelId}/follow
get /channels/{channelId}/emoticons
patch /channels/{channelId}/emoticons
get /channels/{channelId}/hostee
put /channels/{channelId}/hostee
delete /channels/{channelId}/hostee
get /channels/{channelId}/hostee/layout
patch /channels/{channelId}/hostee/layout
get /channels/{channelId}/hosters
get /channels/{channelId}/manifest.light2
get /channels/{channelId}/manifest.m3u8
get /channels/{channelId}/manifest.ftl
get /channels/{channelId}/preferences
post /channels/{channelId}/preferences
get /channels/{channelId}/related
delete /channels/{channelId}/streamKey
get /channels/{channelId}/relationship
post /channels/{channelId}/thumbnail
get /channels/{channelId}/users
get /channels/{channelId}/users/{role}
patch /channels/{channelId}/users/{userId}
get /channels/{channelId}/discord
put /channels/{channelId}/discord
get /channels/{channelId}/discord/channels
get /channels/{channelId}/discord/roles
get /channels/{channelId}/discord/invite
post /channels/{channelId}/discord/invite
get /channels/{channelId}/recordings
post /channels/{channelId}/transcodes/unlock
get /channels/{channelId}/confetti
get /channels/{channelId}/banner
post /channels/{channelId}/banner
delete /channels/{channelId}/banner
get /channels/{channelId}/broadcast

/chats

get /chats/{channelId}
get /chats/{channelId}/joinIfNotBigEvent
get /chats/{channelId}/anonymous
get /chats/{channelId}/friends
get /chats/{channelId}/users
get /chats/{channelId}/users/{userId}
get /chats/{channelId}/users/search
get /chats/{channelId}/history

/clips

get /clips/broadcasts/{broadcastId}/canClip
post /clips/create
delete /clips/{shareableId}
get /clips/{shareableId}
post /clips/{shareableId}/metadata
get /clips/channels/{channelId}

/confetti

put /confetti
get /confetti/{confettiId}
patch /confetti/{confettiId}
delete /confetti/{confettiId}

/costreams

get /costreams/{costreamId}
patch /costreams/{costreamId}
delete /costreams/{costreamId}/channels/{channelId}
post /costreams/invite
get /costreams/current
delete /costreams/current

/delve

get /delve/home
get /delve/mixPlayFilters
get /delve/onlyOnMixer

/frontendVersions

get /frontendVersions

/hooks

get /hooks
post /hooks
get /hooks/{hookId}
post /hooks/{hookId}/deactivate
post /hooks/{hookId}/renew

/ingests

get /ingests
get /ingests/best

/interactive

get /interactive/{channel}
get /interactive/hosts
get /interactive/hosts/vnext
get /interactive/games
post /interactive/games
get /interactive/games/{projectId}
put /interactive/games/{projectId}
delete /interactive/games/{projectId}
get /interactive/games/{projectId}/versions
post /interactive/games/{projectId}/cover
post /interactive/games/{projectId}/editors
get /interactive/games/{projectId}/editors
delete /interactive/games/{projectId}/editors/{user}
get /interactive/games/owned
get /interactive/games/shared
get /interactive/games/editor
post /interactive/versions
get /interactive/versions/{versionId}
put /interactive/versions/{versionId}
delete /interactive/versions/{versionId}
get /interactive/versions/{versionId}/analytics/performance
get /interactive/versions/{versionId}/analytics/viewersMetrics

/invoices

get /invoices/{invoice}
post /invoices/{invoice}/capture

/jwt

post /jwt/authorize

/notifications

get /notifications/{notificationId}
post /notifications/{notificationId}/shareSub
delete /notifications/{notificationId}/shareSub
post /notifications/{notificationId}/costream/{state}
post /notifications/emailUnsubscribe

/oauth

delete /oauth/authorized/{client}
post /oauth/clients
get /oauth/clients/{client}
put /oauth/clients/{client}
delete /oauth/clients/{client}
post /oauth/clients/{client}/logo
post /oauth/token
post /oauth/token/introspect
post /oauth/shortcode
get /oauth/shortcode/check/{handle}
get /oauth/twitter/check
post /oauth/twitter/check
post /oauth/twitter/link
delete /oauth/twitter/link
post /oauth/twitter/login
get /oauth/twitter/profile
post /oauth/twitter/register
get /oauth/discord/check
post /oauth/discord/check
post /oauth/discord/link
delete /oauth/discord/link
post /oauth/discord/login
get /oauth/discord/profile
post /oauth/discord/register

/recordings

get /recordings
get /recordings/{recording}
patch /recordings/{recording}
delete /recordings/{recording}
post /recordings/{recording}/seen
patch /recordings/{recording}/chat

/redeemables

post /redeemables
get /redeemables/{redeemable}
post /redeemables/redeem

/resources

get /resources/{resource}
delete /resources/{resource}

/seen

get /seen/{bucket}/{thing}
put /seen/{bucket}/{thing}

/shares

get /shares/{type}
post /shares/{type}
delete /shares/{type}
delete /shares/{type}/{share}

/subscriptions

post /subscriptions
get /subscriptions/{subscription}
patch /subscriptions/{subscription}
delete /subscriptions/{subscription}

/suggestions

get /suggestions/channels

/teams

get /teams
post /teams
get /teams/{teamIdOrToken}
put /teams/{team}
delete /teams/{team}
post /teams/{team}/background
post /teams/{team}/logo
put /teams/{team}/owner
get /teams/{team}/users
post /teams/{team}/users
delete /teams/{team}/users/{user}
put /teams/{team}/users/{user}

/testStreams

get /testStreams/{channelId}
put /testStreams/{channelId}

/transcodes

get /transcodes

/types

get /types
get /types/lookup
get /types/published
get /types/{type}
put /types/{type}
put /types/{type}/thumbnail
put /types/{type}/background
get /types/{type}/channels
get /types/{type}/analytics/viewersMetrics
get /types/{type}/analytics/rank

/users

get /users/current
get /users/current/frontendVersion
get /users/search
get /users/{user}
put /users/{user}
patch /users/{user}
get /users/{user}/achievements
get /users/{user}/avatar
post /users/{user}/avatar
delete /users/{user}/avatar
get /users/{user}/follows
patch /users/{user}/frontendVersion
get /users/{user}/invoices
get /users/{user}/links
get /users/{user}/notifications
get /users/{user}/notifications/preferences
patch /users/{user}/notifications/preferences
get /users/{user}/oauth/authorized
get /users/{user}/oauth/clients
get /users/{user}/preferences
post /users/{user}/preferences
get /users/{user}/recurringPayments
get /users/{user}/redeemables
get /users/{user}/resources
get /users/{user}/sessions
get /users/{user}/subscriptions
get /users/{user}/teams
get /users/{user}/teams/limit
put /users/{user}/teams/primary
get /users/{user}/details
get /users/{user}/recentlyViewedChannels

Models & Types

Achievement

Achievements are earnt by users and have various requirements.

  • slug:  string

    Unique string identifier for the achievement.

    • maxLength: 100
  • name:  string

    Human readable name for the achievement.

  • description:  string

    The description of the achievement, usually describes requirements for earning it.

  • sparks:  uint

    The number of sparks awarded to a user when this achievement is earnt.

AchievementEarning extends TimeStamped

An AchievementEarning represents a user's progress towards an achievement.

  • id:  uint

    The unique ID of the earning.

  • earned:  boolean

    Indicates whether the achievement was earned.

  • progress:  number≤1

    Unit interval indicating the progress.

  • achievement:  string

    The name of the achievement.

  • user:  uint

    The ID of the user this earning belongs to.

  • Achievement:  Achievement

    Contains the details of the earnt achievement.

Announcement

Announcements are triggered by Mixer staff and inform users of important information and news on Mixer.

  • message:  string

    Message to display in the toast / desktop notification.

  • timeout:  number?

    How long the message should appear for, defaults to 10 seconds.

  • sound:  string (whoosh,chimes,click,dudup,harp,heads-up,here-you-go,hi,incoming,ping,ring,urgent,powers)?

    Any sound that should be played with the announcement, like "whoosh", defaults to null.

  • level:  string (error,warning,info,success)?

    Level of the toast to display, defaults to success.

  • confetti:  number ∪ boolean

    ID of confetti to display, or true to use the default.

Broadcast

A broadcast represents a single broadcast from a Channel.

  • id:  UUID

    Unique ID for this broadcast.

  • channelId:  uint

    ID of the Channel this broadcast belongs to.

  • online:  boolean

    True if this broadcast is online and in progress.

  • isTestStream:  boolean

    True if this broadcast is running in test stream mode.

  • startedAt:  IsoDate

    The date that this broadcast started at.

CPMAnalytic extends ChannelAnalytic

A metric showing the impressions and payout for a period.

  • impressions:  uint

    The number of unique ad impressions.

  • payout:  number

    The amount of money awarded from the impressions, in cents.

Channel extends TimeStamped

A single channel within Mixer. Each channel is owned by a user, and a channel can be broadcasted to.

  • id:  uint

    The unique ID of the channel.

  • userId:  uint

    The ID of the user owning the channel.

  • token:  string

    The name and url of the channel.

  • online:  boolean

    Indicates if the channel is streaming.

  • featured:  boolean

    True if featureLevel is > 0.

  • featureLevel:  -1≤integer

    The featured level for this channel. Its value controls the position and order of channels in the featured carousel.

  • partnered:  boolean

    Indicates if the channel is partnered.

  • transcodingProfileId:  uint?

    The id of the transcoding profile.

  • suspended:  boolean

    Indicates if the channel is suspended.

  • name:  string

    The title of the channel.

  • audience:  string (family,teen,18+)

    The target audience of the channel.

  • viewersTotal:  uint

    Amount of unique viewers that ever viewed this channel.

  • viewersCurrent:  uint

    Amount of current viewers.

  • numFollowers:  uint

    Amount of followers.

  • description:  string

    The description of the channel, can contain HTML.

  • typeId:  uint?

    The ID of the game type.

  • interactive:  boolean

    Indicates if that channel is interactive.

  • interactiveGameId:  uint?

    The ID of the interactive game used.

  • ftl:  uint

    The ftl stream id.

  • hasVod:  boolean

    Indicates if the channel has vod saved.

  • languageId:  string?

    ISO 639 language id.

  • coverId:  uint?

    The ID of the cover resource.

  • thumbnailId:  uint?

    The resource ID of the thumbnail.

  • badgeId:  uint

    The resource ID of the subscriber badge.

  • bannerUrl:  string

    The URL of the the banner image.

  • hosteeId:  uint

    The ID of the hostee channel.

  • hasTranscodes:  boolean

    Indicates if the channel has transcodes enabled.

  • vodsEnabled:  boolean

    Indicates if the channel has vod recording enabled.

  • costreamId:  UUID?

    The costream that the channel is in, if any.

ChannelAdvanced extends Channel

Augmented regular channel with additional data.

  • type:  GameType?

    A nested type showing information about this channel's currently selected type.

  • user:  UserWithGroups

    This channel's owner

ChannelAnalytic

A base analytics type for channel based analytical metrics.

  • channel:  uint

    The channel.

  • time:  IsoDate

    Timestamp for when this metric was recorded.

ChannelFeatures

A list of channel features.

ChannelPreferences

Channel preferences are a list of options and attributes which control behaviour for the channel. Please see each property for more details.

  • sharetext:  string?

    The text used when sharing the stream. The template parameter %URL% will be replaced with the channel's URL. The template parameter %USER% will be replaced with the channel's name.

  • channel:links:allowed:  boolean?

    Specifies whether links are allowed in the chat.

  • channel:links:clickable:  boolean?

    Specifies whether links are clickable in the chat.

  • channel:slowchat:  number?

    Interval required between each chat message.

  • channel:notify:directPurchaseMessage:  string?

    The message to be sent when a user completes a direct purchase on the channel. The template parameter %USER% will be replaced with the name of the user who completed direct purchase. The template parameter %CHANNEL% will be replaced with the name of the channel. The template parameter %GAMETITLE% will be replaced with the name of the game purchased.

  • channel:notify:subscribemessage:  string?

    The message to be sent when a user subscribes to the channel. The template parameter %USER% will be replaced with the subscriber's name.

  • channel:notify:subscribe:  boolean?

    Indicates whether a notification should be shown upon subscription.

  • channel:notify:followmessage:  string?

    The message to be sent when a user follows the channel. The template parameter "%USER%" will be replaced with the follower's name.

  • channel:notify:follow:  boolean?

    Indicates whether a notification should be shown upon follow.

  • channel:notify:hostedBy:  string?

    The message to be sent when a user hosts the channel. The template parameter "%USER%" will be replaced with the hoster's name.

  • channel:notify:autoHostedBy:  string?

    The message to be sent when a user auto-hosts the channel. The template parameter "%USER%" will be replaced with the hoster's name.

  • channel:notify:hosting:  string?

    The message to be sent when the channel hosts another. The template parameter "%USER%" will be replaced with the hostee's name.

  • channel:partner:submail:  string?

    The text to be added to the subscription email.

  • channel:player:muteOwn:  boolean?

    Indicates whether to mute when the streamer opens his own stream.

  • channel:tweet:enabled:  boolean?

    Indicates whether the tweet button should be shown.

  • channel:tweet:body:  string?

    The message to be used when a user tweets about the channel. The template parameter %URL% will be replaced with the share url.

  • hypezone:allow:  boolean

    Indicates if the channel allows HypeZone to host it.

  • hosting:allow:  boolean

    Indicates if the channel allows other channels to host it.

  • costream:allow:  boolean

    Allows other streamers to join you in a costream.

  • channel:offline:autoplayVod:  boolean?

    When a user visits the channel while the channel is offline, the most recent VOD will be automatically played if this preference is enabled.

ChannelSuggestions

Suggested channels with their beacon URLs

  • channels:  Array<Channel>

    Suggested channels for the user.

  • impressionUrl:  string

    URL to call when the suggested content is shown to the user

  • actionsUrl:  string

    URL to call when the user performs any action on the suggested content

ChatEventRequest

Data required to create a Chat event.

  • type:  string

    Type of event

  • data:  object

    Event data JSON object

ChatUser

Represents a user within chat for a channel and provides details about their status within the channel.

  • userId:  uint

    The user ID that this chat user belongs to.

  • userName:  string

    The username.

  • userRoles:  Array<Role>

    The roles the user has in this chat.

  • user:  object

    A partial User model.

    • experience:  uint

      The user's experience points.

    • level:  uint

      The user's current level on Mixer, as determined by the number of experience points the user has.

CheckoutItem

One item within an user's Order.

  • id:  uint

    The ID of the item to be purchased.

  • quantity:  uint

    The amount of items to be purchased.

ClipError

Error information for an unsuccesful clip request

  • errorCode:  uint

    An error code corresponding to the reason for request failure

  • errorMessage:  string

    A message explaining the reason for request failure

ClipMetadata

Metadata about a clip which can be updated

  • title:  string

    The title of the clip

ClipProperties

Information about a clip.

  • contentId:  UUID

    The content ID of this clip.

  • contentLocators:  Array<Locator>

    Locator information for this highlight (including the thumbnail and content)

  • durationInSeconds:  uint

    Duration of this highlight in seconds

  • expirationDate:  IsoDate

    Date, in string format, this content will be deleted

  • title:  string

    Title of the highlight (default is the title of the live broadcast the highlight was created from)

  • ownerChannelId:  uint

    Channel ID of the owner of this highlight

  • typeId:  uint

    Mixer title id of source material (as opposed to xbox title id)

  • shareableId:  string

    ID to get the clip and share with users

  • streamerChannelId:  uint

    Channel ID of the streamer this highlight was clipped from

  • uploadDate:  IsoDate

    Date time, in string format, at which this highlight completed upload

  • viewCount:  uint

    Number of views associated with this highlight

  • contentMaturity:  uint

    Maturity of the clip (Family = 1, Teen = 2, EighteenPlus = 3)

  • tags:  Array<string>

    Tag for clips

ClipRequest

Information required to create a clip.

  • broadcastId:  string

    Unique id for the broadcast being clipped

  • highlightTitle:  string?

    Title of the clip being created (default is the broadcast title)

  • finalStreamTimeMs:  number?

    The stream time at the end of the clip being created (default is the latest stream time)

  • clipDurationInSeconds:  number?

    Length of the clip to create (default 30s, min 15s, max 300s)

Confetti

Represents a confetti cannon configuration. Each channel can have is own customized confetti. The confetti cannon is triggered on subscription or direct purchase events on a channel.

  • id:  uint

    The Confetti's ID.

  • channelId:  uint?

    The owner of the Confetti; this channel can edit it.

  • settings:  object

    The settings configure the confetti. Most options are customizable math expressions parsed with expr-eval.

    • count:  string

      Expression to be evaluated to determine the number of generated confetti particles. The window height and width will be passed into the expression. The number of confetti particles will be capped based on the device profile, however. For example: "count": "35 * width / 100".

    • particles:  Array<object>

      Array of particle configurations.

      • Item properties:
        • probability:  number

          Weighted probability that a generated confetti particle will be this particle. Weighting is done based on the sum all probabilities.

        • velocity:  string

          Expression to be evaluated to determine the vertical velocity, in pixels per millisecond, of the particle. It's called with the window width and height. For example: "velocity": "height / 1000 / 4".

        • zdepth:  string

          Expression to be evaluated to determine the "depth" of the particle, which will be used to scale its size and velocity to achieve a pseudo-3d effect. It's called with the window width and height. For example: "zdepth": "1 + random(3)".

        • wiggleMagnitude:  string

          Expression to determine the magnitude of the wave, in pixels, that each particle follows on its horizontal axis as it floats down. It's called with the window width and height. For example: "wiggleMagnitude": "15 + random(10)".

        • wigglePeriod:  string

          Expression to determine the period of the wave, in milliseconds, that each particle follows on its horizontal axis as it floats down. It's called with the window width and height. For example: "wigglePeriod": "1000 + random(500)".

        • lifetime:  string

          Expression to determine how long each particle lives for, in milliseconds, before being destroyed. It's called with the window width and height. For example: "lifetime": "1200 + random(2000)".

        • fader:  string

          Expression called continuously to determine the opacity. It's called a lifetime values, which starts at zero and goes to one as the time passes, and should return an opacity value in the range from zero to one. For example: "fader": "1 - lifetime^3".

        • draw:  ConfettiCircleConfettiRectangleConfettiImage

          Describes the confetti graphic to be drawn.

ConfettiCircle

A definition for a circle within a Confetti configuration.

  • shape:  string

    Must be set to circle.

  • size:  string

    Expression to determine the diameter of the confetti circle in pixels. For example: "size": "4 + random(2)"

  • flipPeriod:  string

    Expression to determine the length of time the circle takes to do a vertical, pseudo-3d spin around the x axis. For example: "flipPeriod": "500 + random(1000)"

  • colors:  Array<object>

    A color configuration for this item.

    • Item properties:
      • probability:  number

        Weighted probability that a generated confetti particle will be this color. Weighting is done based on the sum all probabilities.

      • r:  string

        Expression used to generate the red color component, should return a value between 0 and 255 inclusive.

      • g:  string

        Expression used to generate the red color component, should return a value between 0 and 255 inclusive.

      • b:  string

        Expression used to generate the red color component, should return a value between 0 and 255 inclusive.

ConfettiImage

A definition for an image within a Confetti configuration.

  • shape:  string

    Must be set to image.

  • scale:  string

    Expression to determine the scale of the image. For example: "scale": "0.5 + random(1)"

  • spinPeriod:  string

    Expression to determine the length of time the images takes to do a full spin around the z axis. For example: "spinPeriod": "1000 + random(1000)"

  • data:  string

    Base-64 encoded image data. This will usually be a long string that starts with data:image/png;base64,. Make sure to minify the image before inserting it here to prevent exceeding size limits.

ConfettiRectangle

A definition for a rectangle within a Confetti configuration.

  • shape:  string

    Must be set to rectangle.

  • width:  string

    Expression to determine the width of the confetti circle in pixels. For example: "size": "8 + random(2)"

  • height:  string

    Expression to determine the height of the confetti circle in pixels. For example: "size": "4 + random(1)"

  • flipPeriod:  string

    Expression to determine the length of time the circle takes to do a vertical, pseudo-3d spin around the x axis. For example: "flipPeriod": "500 + random(1000)"

  • colors:  Array<object>

    A color configuration for this item.

    • Item properties:
      • probability:  number

        Weighted probability that a generated confetti particle will be this color. Weighting is done based on the sum all probabilities.

      • r:  string

        Expression used to generate the red color component, should return a value between 0 and 255 inclusive.

      • g:  string

        Expression used to generate the red color component, should return a value between 0 and 255 inclusive.

      • b:  string

        Expression used to generate the red color component, should return a value between 0 and 255 inclusive.

Costream

A co-stream is a set of channels grouped together and displayed on Mixer together.

  • channels:  Array<object>

    The members of the costream. The first member in this array is the "host" and has some special permissions regarding kicking other members and changing layout.

    • Item properties:
      • id:  uint

        The unique ID of the channel.

      • userId:  uint

        The ID of the user owning the channel.

      • token:  string

        The name and url of the channel.

  • startedAt:  IsoDate

    The time the costream started.

  • capacity:  uint

    The total number of people who may join this costream.

  • layout:  PlayerLayout

    The layout of a costream, configurable by the host or inviter.

DelveBackground

Dictates what background to display on the homepage.

  • fullWidthSrc:  string

    URL for the background to display full-width, used on mobile and on screens narrower than the max content width.

  • leftSrc:  string?

    Optional left-flanking background for use on screens larger than the max content width.

  • rightSrc:  string?

    Optional right-flanking background for use on screens larger than the max content width.

DelveCarousel

A large carousel for display on the homepage.

  • type:  string (carousel)

    Set to carousel.

  • channels:  Array<object>

    List of partial Channel objects for display.

    • Item properties:
      • id:  uint

        The unique ID of the channel.

      • name:  string?

        The title of the channel.

      • viewersCurrent:  uint

        Amount of current viewers.

      • token:  string

        The name and url of the channel.

      • userId:  uint

        The ID of the user owning the channel.

      • type:  GameType?

        The game/type the channel is playing.

DelveChannels

A list of channel on Mixer.

  • type:  string (channels)

    Set to channels.

  • title:  object

    A map of locales like en-us to the respective translation for the title of the channel row. Not all localizations may be returned in every case, clients MUST gracefully fall back if the ideal locale is unavailable.

  • morePath:  string

    The URL the frontend can navigate to in order to see more for this content. Different client implementations may treat or parse this differently. Clients MAY fall back to a more generic interface if they are unable to parse a specific URL, or the display is unavailable.

  • style:  string?

    The style variant for this row of channels.

  • hydration:  object?

    Returned only if the hydrate is given in the request.

    • apiPath:  string

      The API path the client can iterate upon to retrieve more contents like this.

    • continuation:  string?

      The continuation token, if any. If not return, the API is assumed to page using the standard zero-indexed page parameter.

    • results:  Array<object>

      List of partial GameType objects for display.

      • Item properties:
        • id:  uint

          The unique ID of the channel.

        • name:  string?

          The title of the channel.

        • interactive:  boolean

          Whether the channel is currently interactive.

        • online:  boolean

          Indicates if the channel is streaming.

        • viewersCurrent:  uint

          Amount of current viewers.

        • token:  string

          The name and url of the channel.

        • userId:  uint

          The ID of the user owning the channel.

        • type:  GameType?

          The game/type the channel is playing.

DelveError

Returned when we tried to get some contents for this row, but encountered an error doing so.

  • type:  string (error)

    Set to error.

  • originalType:  string

    The type of row that we originally tried to display here.

DelveGames

A list of games streamed on Mixer.

  • type:  string (games)

    Set to games.

  • title:  object

    A map of locales like en-us to the respective translation for the title of the game row. Not all localizations may be returned in every case, clients MUST gracefully fall back if the ideal locale is unavailable.

  • morePath:  string

    The URL the frontend can navigate to in order to see more for this content. Different client implementations may treat or parse this differently. Clients MAY fall back to a more generic interface if they are unable to parse a specific URL, or the display is unavailable.

  • hydration:  object?

    Returned only if the hydrate is given in the request.

    • apiPath:  string

      The API path the client can iterate upon to retrieve more contents like this.

    • continuation:  string?

      The continuation token, if any. If not return, the API is assumed to page using the standard zero-indexed page parameter.

    • results:  Array<object>

      List of partial GameType objects for display.

      • Item properties:
        • id:  uint

          The unique ID of the game type.

        • name:  string

          The title of the channel.

        • viewersCurrent:  uint

          Amount of current viewers.

        • coverUrl:  string?

          The URL for the game type thumbnail, if available.

DelveMixPlayFilters

Dictates the MixPlay games which are filterable on the browse page.

  • name:  object

    A map of locales like en-us to the respective translation for the title of the game row. Not all localizations may be returned in every case, clients MUST gracefully fall back if the ideal locale is unavailable.

  • description:  object

    A map of locales like en-us to the respective translation for the title of the game row. Not all localizations may be returned in every case, clients MUST gracefully fall back if the ideal locale is unavailable.

  • integrationIds:  Array<uint>

    The IDs to filter for.

DelveOnlyOnMixer

Returned when we tried to get some contents for this row, but encountered an error doing so.

  • id:  number

    Channel ID for the content.

  • type:  string

    Defines the archetype of this channel.

  • typeId:  number?

    Certain originals, like HypeZones, are bound to a specific game type.

  • channel:  object?

    Returned only if the hydrate is given in the request. Contains the truncated channel information as seen in DelveChannels.

DiscordBot

Lists the configuration for this Discord bot.

  • id:  uint

    The unique ID of the Discord bot.

  • channelId:  uint

    The channel ID linked to this Discord integration.

  • guildId:  string

    The server ID that this bot belongs to.

  • inviteSetting:  string (EVERYONE,FOLLOWERS,SUBS,NOONE)

    Determines which users can get invites to the Discord channel. It can be set to "everyone", "followers", "subs", or "noone" to disable invites. Defaults to "noone".

  • inviteChannel:  string

    The ID of the server channel that new users are invited to.

  • liveUpdateState:  boolean

    Whether the user state should be changed to "Playing GAME on Mixer" when the user goes live.

  • liveChatChannel:  string

    Channel ID that chat messages will be mirrored to by the bot. If this is null, chat messages will not be mirrored.

  • liveAnnounceChannel:  string

    Channel ID that chat announcements will be mirrored to by the bot. If this is null, chat messages will not be mirrored.

  • syncEmoteRoles:  Array<uint>

    A list of Discord roles who will be able to use subscriber emotes. (This only has an effect for partnered channels.)

  • roles:  Array<object>

    A list of roles which this DiscordBot controls.

    • Item properties:
      • id:  uint
      • type:  string (SUBS,FOLLOWERS)

        Describes what group of people are given this role.

      • roleId:  string
      • gracePeriod:  uint

        Number of days subscribers have until they're kicked from the server if their subscription expires. It defaults to 14 days and may be set to null to disable kicking. Violence is never the answer.

DiscordChannel

Represents a single channel within a Discord server.

  • id:  string

    The unique ID of the Discord channel.

  • name:  string

    The human name of the channel.

  • type:  string

    Either "voice", "text" or "category".

  • private:  boolean

    This field is deprecated.

DiscordRole

Represents a role within a Discord server.

  • id:  string

    The unique ID of the Discord role.

  • name:  string

    The human name of the role.

  • color:  string

    Hex color code for the channel, starting with a pound # symbol

  • assignable:  boolean

    Whether the bot has permission to assign users to this role. This depends on the role's position on Discord.

EmojiRankAnalytic extends ChannelAnalytic

A channel metric showing how many times an emoji was used in a period.

  • emoji:  string

    The Emoji's string representation. E.g. mappa.

  • count:  uint

    The number of times this emoji was used in the queried time period.

EmoticonGroup

A list of emoticons and their coordinates within an EmoticonPack.

  • Keys matching the RegEx /^:\w+$/:  object

    A single emote within this Group.

    • x:  uint

      X coordinate of the emote.

    • y:  uint

      Y coordinate of the emote.

    • width:  uint

      Width of the emote.

    • height:  uint

      Height of the emote.

EmoticonPack

An emoticon pack is a list of emoticons that belong to a channel.

  • url:  string

    The url to the sprite sheet.

  • emoticons:  EmoticonGroup

    An emoticon group, lists emoticons in this pack.

  • channelId:  uint

    The ID of the channel that owns this EmoticonPack.

ExpandedChannel extends ChannelAdvanced

Augmented ChannelAdvanced with additional properties.

  • thumbnail:  Resource?

    A resource object representing the thumbnail.

  • cover:  Resource?

    A resource object representing the cover.

  • badge:  Resource?

    A resource object representing the badge.

  • cache:  Array<object>

    Unused, deprecated.

  • preferences:  ChannelPreferences

    The channel preferences.

ExpandedRedeemable extends Redeemable

Augmented Redeemable with additional properties

  • owner:  User

    Embedded owner of this redeemable.

  • redeemedBy:  User

    Embedded redeemer of this redeemable.

ExpandedShare extends Share

Augmented share with additional properties.

  • user:  User?

    The embedded user the share targets.

ExpandedTranscodingProfile extends TranscodingProfile

Augments a regular transcoding profile by listing the transcodes available on this profile.

FTLVideoManifest

Provides details and information about an FTL Broadcast.

  • resolutions:  Array<VideoManifestResolution>

    A list of resoloutions for this FTL Broadcast.

    • Item properties:
      • iceServers:  Array<object>
        • Item properties:
          • url:  string

            The url of the ice server, can be stun or turn.

          • username:  string?

            Only set when url protocol is turn.

          • credentials:  string?

            Only set when url protocol is turn.

      • rtcId:  uint

        The ID of the channel.

  • since:  IsoDate

    Time the stream started.

Follow extends TimeStamped

Represents a follow relationship between a user and a channel.

  • user:  uint

    The follower user id.

  • channel:  uint

    The followee channel id.

FollowersAnalytic extends ChannelAnalytic

A channel metric showing how many followers the channel had at this time and the change in that metric.

  • total:  uint

    The total number of followers the channel now has.

  • delta:  number

    Increment that the total changed as a result of this event.

  • user:  number?

    The ID of the user who followed, may not be present in aggregations.

FrontendVersion

Describes an available FrontendVersion. Users can sometime swap between frontend versions to test out new features on Mixer.

  • version:  string

    The version name.

  • displayName:  string

    The version's display name for the frontend.

GameRankAnalytic extends ChannelAnalytic

A channel metric showing details about the type this channel is broadcasting.

  • streams:  uint

    The number of streams playing this game in the time period. Note that this is recorded once per unique stream when it ends.

  • views:  uint

    The number of views the game received in the time period

  • shared:  uint

    The number of times the game was shared in the time period

GameType extends GameTypeSimple

A GameType can be set on a channel and represents the title they are broadcasting.

  • parent:  string

    The name of the parent type.

  • description:  string

    The description of the type.

  • source:  string

    The source where the type has been imported from.

  • viewersCurrent:  uint

    Total amount of users watching this type of stream.

  • online:  uint

    Amount of streams online with this type.

GameTypeLookup extends GameTypeSimple

The result from looking up a game type.

  • exact:  boolean

    Whether this game type is an exact match to the query.

GameTypeSimple

Base game type.

  • id:  uint

    The unique ID of the game type.

  • name:  string

    The name of the type.

  • coverUrl:  string?

    The url to the type's cover.

  • backgroundUrl:  string?

    The url to the type's background.

HostingSession

Base game type.

  • hostees:  Array<uint>

    The channel(s) being hosted. Always at least one channel.

  • layout:  PlayerLayout

    The arrangement of players in the hosting context.

Ingest

An ingest definition. Ingests are used by streaming software to send video to Mixer.

Example:

{
   "name": "US: Dallas, TX",
   "host": "ingest-dal.mixer.com",
   "pingTest": "ingest-dal.mixer.com",
   "protocols": [
      {
         "type": "ftl"
      },
      {
         "type": "rtmp"
      }
   ]
}
  • name:  string

    The name and location of the ingest.

  • host:  string

    Url of the host.

  • pingTest:  string

    A websocket address that is used for ping tests.

  • protocols:  Array<object>

    List of supported protocols

    • Item properties:
      • type:  string (ftl,rtmp)

        The protocol name.

IngestStreamAnalytic

A metric providing video details about a broadcast.

  • ingest_id:  uint

    A unique id per ingest

  • channel_id:  uint

    The channel ID of the streamer

  • subscribed_dist_nodes:  uint

    How many dist nodes are watching

  • video_packet_loss:  number

    The packet loss percent for the last 5 seconds

  • video_packet_recovered:  number

    The percentage of packets recovered in the last 5 seconds

  • video_avg_recovery_delay:  uint

    The delay to recover a packet

  • video_avg_nack_delay:  uint

    The delay in the nack

  • video_bitrate:  uint

    The video bitrate for the last 5 seconds

  • video_jitter_buffer_size:  uint

    The jitter buffer size

  • audiovo_packet_loss:  number

    The packet loss percent for the last 5 seconds

  • audiov_packet_recovered:  number

    The percentage of packets recovered in the last 5 seconds

  • audiov_avg_recovery_delay:  uint

    The delay to recover a packet

  • audio_avg_nack_delay:  uint

    The delay in the nack.

  • audiov_bitrate:  uint

    The audio bitrate for the last 5 seconds

  • audioo_jitter_buffer_size:  uint

    The jitter buffer size

InteractiveAnalytic extends ChannelAnalytic

A channel metric showing details about the type this channel is broadcasting.

  • inputsGiven:  uint

    The number of inputs users gave in the interaction over the time window.

  • playtime:  uint

    The total length of time participants played for, in seconds.

  • streams:  uint

    The number of Interactive game client sessions run on stream during this window.

  • viewers:  uint

    The number of Interactive viewer sessions run on stream during this window.

  • streamLength:  uint

    The total duration of Interactive stream sessions.

  • timeToInteractive:  object

    Analytics detailing the number of seconds between when the page loaded and a participant interacted with the integration.

    • avg:  number

      Average value

    • max:  number

      Max value

    • min:  number

      Min value

    • std:  number

      Standard deviation

  • sparksSpent:  object

    Analytics detailing how many Sparks users spent in this period.

    • avg:  number

      Average value

    • max:  number

      Max value

    • min:  number

      Min value

    • std:  number

      Standard deviation

InteractiveConnectionInfo

Provides connection details that can be used to connect to an interactive session on a channel.

  • address:  string

    Websocket url to connect to.

  • key:  string

    The connection key required for connecting to interactive.

  • influence:  number

    Influence multiplier. This field is unused.

  • version:  InteractiveVersionExpanded

    The interactive game the channel is using.

InteractiveControls

Specifies the Interactive V1 Controls that an InteractiveVersion has.

  • reportInterval:  50uint10000

    How often frontend should report the state of the controls to the Interactive service.

  • joysticks:  Array<object>?

    An array of joysticks in this control specification.

    • Maximum length: 100
    • Item properties:
      • id:  uint

        The unique ID of the control.

      • blueprint:  Array<object>
        • Minimum length: 1
        • Item properties:
          • state:  string

            The state the button belongs to.

            • maxLength: 100
          • grid:  string
            • maxLength: 100
          • x:  uint

            X coordinate of the joystick.

          • y:  uint

            Y coordinate of the joystick.

          • width:  3uint3

            Width of the joystick.

          • height:  3uint3

            Height of the joystick.

      • analysis:  InteractiveJoyStickAnalysis

        The analysis types enabled on this joystick.

  • screens:  Array<object>?

    An array of screen controls in this control specification.

    • Maximum length: 100
    • Item properties:
      • id:  uint

        The unique ID of the control.

      • blueprint:  Array<object>
        • Item properties:
          • state:  string

            The state the button belongs to.

            • maxLength: 100
      • analysis:  InteractiveScreenAnalysis

        The analysis types enabled on this screen control.

  • tactiles:  Array<object>?

    An array of tactiles in this control specification.

    • Maximum length: 100
    • Item properties:
      • id:  uint

        The unique ID of the control.

      • blueprint:  Array<object>
        • Item properties:
          • state:  string

            The state the button belongs to.

            • maxLength: 100
          • grid:  string
            • maxLength: 100
          • x:  uint

            X coordinate of the tactile.

          • y:  uint

            Y coordinate of the tactile.

          • width:  1uint4

            Width of the tactile.

          • height:  1uint2

            Height of the tactile.

      • key:  uint

        The key to be bound to the tactile.

      • text:  string?

        The text to show on the tactile.

      • cost:  object
        • press:  object
          • cost:  uint

            Cost, in sparks, for a tactile press.

      • cooldown:  object
        • press:  uint?

          Length of cooldown started when a user pushes this tactile. In milliseconds.

      • analysis:  InteractiveTactileAnalysis

        The analysis types enabled on this tactile.

InteractiveGame extends TimeStamped

An InteractiveGame is owned by a Channel and provides details about an Interactive experience or game on Mixer.

  • id:  uint

    The unique ID of the game.

  • ownerId:  uint

    The user ID of the creator.

  • name:  string

    The name of the game.

  • coverUrl:  string?

    The url to the cover image.

  • description:  string

    The description of the game. This may contain HTML.

  • hasPublishedVersions:  boolean

    Indicates whether the game has any public published versions.

  • typeId:  uint

    The ID of the game associated with this interactive project.

  • installation:  string

    This field is unused and will be removed in future. Please use the installation property of InteractiveVersion instead.

InteractiveGameListing extends InteractiveGame

An interactive game within a list of Interactive games. Contains additional properties to avoid extra requests.

  • versions:  Array<object>

    The versions within this Interactive game listing.

    • Item properties:
      • id:  uint

        The ID of the version.

      • version:  string

        The semantic version string.

      • state:  string (draft,pending,published)

        The current state of the version. draft: Not in review, not published. pending: In review. published: Published and available to the public.

      • versionOrder:  uint

        Value used to help ordering versions.

  • owner:  User

    The creator of the game.

InteractiveJoyStickAnalysis

Analysis settings for a Joystick. If an analysis type is enabled results will be generated and sent to the Interactive Robot.

  • coords:  object

    Analysis settings on the coordinates property of a joystick

    • mean:  boolean

      Enable joystick mean analysis on this joystick.

    • stdDev:  boolean

      Enable standard deviation analysis on this joystick.

InteractiveMetric

An interactive metric represents a record for every time a channel enables interactive for any period of time

  • id:  UUID

    Unique ID for this stream viewer document.

  • channelId:  string

    ID of the Channel this interactive metric belongs to.

  • versionId:  string

    The version of the interactive project that was run.

  • projectId:  string

    ID of the interactive project that was run.

  • published:  boolean

    Whether the interactive project was published when it was run.

  • bundle:  string

    The bundle that was run.

  • publisherUserId:  string

    ID of the user that owns the interactive project.

  • mixerTypeId:  string

    The ID of the game type that was being streamed.

  • sessionLength:  uint

    The length of the interactive session.

  • totalPlaytimeHours:  uint

    The total playtime during the interactive session.

  • timestamp:  IsoDate

    The time stamp when the document was created.

InteractiveScreenAnalysis

Analysis settings for a Screen control. If an analysis type is enabled results will be generated and sent to the Interactive Robot.

  • position:  object

    Analysis sections for the position reported from this screen control.

    • mean:  boolean

      Enable mean analysis for this screen control.

    • stdDev:  boolean

      Enable standard deviation analysis for this screen control.

  • clicks:  boolean

    Enable click event for analysis for this screen control.

InteractiveTactileAnalysis

Analysis settings for a Tactile control. If an analysis type is enabled results will be generated and sent to the Interactive Robot.

  • holding:  boolean

    Enable holding analysis for the tactile.

  • frequency:  boolean

    Enable frequency analysis for the tactile.

InteractiveVersion extends TimeStamped

A versioned instance of an InteractiveGame.

  • id:  uint

    The unique ID of the version.

  • gameId:  uint

    The game ID this version belongs to.

  • version:  string

    The semver of the game.

  • versionOrder:  uint

    Value used to help ordering versions.

  • changelog:  string

    The changelog of version.

  • state:  string (draft,pending,published)

    The current state of the version. draft: Not in review, not published. pending: In review. published: Published and available to the public.

  • installation:  string

    Installation instructions. This may contain HTML.

  • download:  string

    Download instructions, usually a url.

  • controls:  InteractiveControls

    The controls for the game.

  • controlVersion:  string (1.0,2.0)

    Indicates which version of the Interactive Controls this Interactive Version uses.

  • bundle:  string

    The InteractiveBundle and version to use, delimited by underscores. For example, my-awesome-controls_1.3.0. It may be automatically suffixed with _public or _private, indicating the control's visiblity. This property is only visible by the author of the interactive version.

InteractiveVersionExpanded extends TimeStamped

A versioned instance of an InteractiveGame.

  • id:  uint

    The unique ID of the version.

  • gameId:  uint

    The game ID this version belongs to.

  • version:  string

    The semver of the game.

  • versionOrder:  uint

    Value used to help ordering versions.

  • changelog:  string

    The changelog of version.

  • state:  string (draft,pending,published)

    The current state of the version. draft: Not in review, not published. pending: In review. published: Published and available to the public.

  • installation:  string

    Installation instructions. This may contain HTML.

  • download:  string

    Download instructions, usually a url.

  • controls:  InteractiveControls

    The controls for the game.

  • controlVersion:  string (1.0,2.0)

    Indicates which version of the Interactive Controls this Interactive Version uses.

  • bundle:  string

    The InteractiveBundle and version to use, delimited by underscores. For example, my-awesome-controls_1.3.0. It may be automatically suffixed with _public or _private, indicating the control's visiblity. This property is only visible by the author of the interactive version.

InteractiveViewerAnalytic extends ChannelAnalytic

A channel metric showing details about a participant in the Interactive game.

  • country:  string?

    The viewer's two character country code, if it can be determined.

  • referrer:  string?

    String identifying where this user came from.

  • platform:  string (desktop,tablet,mobile)?

    The viewer's platform, if it can be determined.

  • browser:  string (chr,ff,ie,ios,sf,an)?

    The viewer's browser, if it can be determined.

  • channelId:  number?

    The channel ID on which the viewer participanted.

Invoice

A user invoice.

  • id:  uint

    The ID of the invoice.

  • currency:  string

    ISO 4217 currency code

  • status:  string (paid,unpaid,errored,cancelled)

    The invoice status

  • user:  uint

    The owner of the invoice.

  • createdAt:  IsoDate

    Creation date

  • amount:  number

    The total invoice amount.

  • items:  Array<InvoiceItem>

    List of invoice items

InvoiceItem extends TimeStamped

An item on a user's invoice.

  • id:  uint

    The ID of the invoice item.

  • type:  string (subscription,redeemable)

    The purchase type

  • relid:  uint?

    The channel id

  • description:  string

    A brief summary of what has been purchased.

  • amount:  number

    The cost of the item.

  • quantity:  uint

    Item quantity.

  • status:  string (paid,unpaid,errored,cancelled)

    The invoice status

  • user:  uint

    The user ID of the invoice owner.

  • invoice:  uint

    The invoice ID the item belongs to.

IsoDate

An ISO8601 date string.

Example:

2016-06-28T04:25:45.110Z

Language

An object representing a language.

  • id:  string

    A rfc5646 language code.

  • name:  string

    The full language name.

LanguageCount

An object describing a count for a language.

  • id:  string

    A rfc5646 language code.

  • count:  uint

    The count.

LightVideoManifest

Describes a broadcast using the Light manifest structure.

  • resolutions:  Array<VideoManifestResolution>

    An array of resoloutions for this broadcast.

    • Item properties:
      • url:  string

        The source url for the stream.

  • since:  IsoDate

    Time the stream started.

LocaleAndString

An object representing a language specific string.

  • language:  string

    A rfc5646 language code.

  • value:  string

    The localized string value.

Locator

Information required to find a clip.

  • locatorType:  string

    Type of content source this is (e.g. Download, SmoothStreaming, Thumbnail etc.)

  • uri:  string

    URL for this content source

Notification

A single notification addressed to a user.

  • userId:  uint

    The user ID that this notification belongs to.

  • sentAt:  IsoDate

    The time at which the notification was sent.

  • trigger:  string

    The event that triggered the notification.

  • payload:  object

    An generally unstructured object containing information about the event. Events of the same type will share the same structure.

NotificationPreference

A user's notification preferences.

  • id:  string

    The id for this notification preference.

  • allowsEmailMarketing:  boolean

    Whether the user allows general marketing/promotional email.

  • notifyFollower:  Array<string>

    A list of transports follower notifications will be sent over.

  • notifySubscriber:  Array<string>

    A list of transports subscriber notifications will be sent over.

  • liveOnByDefault:  Array<string>

    A list of notification transport wentlive notifications are sent on by default.

  • lastRead:  IsoDate

    The time the user last read their notifications.

  • health:  object

    Controls the health notification settings for this user.

    • eat:  number≤72

      Interval, in hours, to show eating notifications.

    • stretch:  number≤72

      Interval, in hours, to show stretching notifications.

  • liveNotifications:  Array<object>

    A list of channels and transports registered on which we'll send wentlive emails.

    • Item properties:
      • channelId:  uint ∪ string

        May be "*", which will toggle on the associated transport for all channels the user follows.

      • kind:  string
  • transports:  Array<object>

    Controls the transports used to deliver notifications to this user.

    • Item type: object

OAuthAuthorization

An OAuthClient which has been authorized by the user.

  • permissions:  Array<string>

    List of permissions the authorization has.

  • userId:  uint

    The ID of the other the authorization is for.

  • client:  OAuthClient

    The OAuth client linked to this authorization.

OAuthClient

An OAuthClient is an application or tool created by a developer. They can be used to ask for access to a user's account.

  • id:  uint

    Internal client id.

  • clientId:  string

    The unique ID of the client.

    • pattern:
      ^[a-f0-9]{48}$
  • name:  string

    The name of the client.

  • website:  string?

    The url of the website using this client.

  • logo:  string?

    The url to the logo of the website.

  • hosts:  Array<string>

    List of wildcard hosts allowed to use the client.

OAuthLink

Represents a linked account on another non-mixer service that this user has linked to their account.

  • service:  string

    The service this link is to, such as twitter or discord.

  • serviceId:  string

    The user's ID on the external service.

  • userId:  number

    The associated Mixer user ID.

PartnershipApp extends TimeStamped

Contains details about a particular partnership application.

  • status:  string (applied,accepted,denied)

    The state of this application, which may be one of:

    • applied - The Application has been submitted and is under review by the Team.
    • accepted - The Application has been accepted.
    • denied - The Application has been denied.
  • reapplies:  IsoDate?

    The date of the next possible application, only set if status is denied. If the value is null while status is denied, the channel is banned from re-applying.

  • reason:  string?

    The reason of the denial, only set if status is denied.

PartnershipCriterion extends TimeStamped

A criterion that a channel must meet in order to apply for partnership.

  • id:  number

    The ID of the criterion that was tested.

  • name:  string

    The friendly name of the criterion that was tested.

  • description:  string

    The description of the criterion that was tested.

  • type:  string

    The type of evaluation to perform.

  • comparison:  string (LT,LTEQ,EQ,GTEQ,GT)

    The type of comparison to perform between the target and actual, which may be one of:

    • LT - The target is less than the actual.
    • LTEQ - The target is less than or equal to the actual.
    • EQ - The target is equal to the actual.
    • GTEQ - The target is greater than or equal to the actual.
    • GT - The target is greater than the actual.
  • target:  number

    The target number that the channel must meet to be considered valid.

  • isEnabled:  boolean

    Whether or not the criterion is enabled. Disabled critera will not affect evaluation.

PartnershipCriterionResult

The result of evaluating a partnership criterion.

  • criterionId:  number

    The ID of the criterion that was tested.

  • type:  string

    The type of evaluation to perform.

  • comparison:  string (LT,LTEQ,EQ,GTEQ,GT)

    The type of comparison to perform between the target and actual, which may be one of:

    • LT - The target is less than the actual.
    • LTEQ - The target is less than or equal to the actual.
    • EQ - The target is equal to the actual.
    • GTEQ - The target is greater than or equal to the actual.
    • GT - The target is greater than the actual.
  • target:  number

    The target number that the channel must meet to be considered valid.

  • actual:  number

    The actual result of the evaluation.

  • succeeded:  boolean

    Whether or not the channel passed the criterion.

PartnershipEvaluationResult

The result of evaluating whether or not a channel is eligible for partnership.

PartnershipExemption extends TimeStamped

An exemption that allows a specific channel to bypass the minimum requirements check for partnership.

  • id:  number

    The ID of the exemption.

  • channelId:  number

    The ID of the channel that was granted an exemption.

  • approverId:  number

    The ID of the user that granted the exemption.

  • agency:  string?

    The agency that the partner is a part of.

  • revoked:  boolean

    Whether or not this exemption has been revoked.

  • reason:  string?

    If the exemption has been revoked this is the reasonf or the revokation.

  • revokerId:  number?

    If the exemption has been revoked this is the ID of the user that revoked it.

PartyChatCreate

Sent in the request to create a new party chat channel.

  • protocolVersion:  number

    Party chat protocol version number.

  • deviceUUID:  string

    Device-bound GUID, used for identifying this device in a party session where a user could be connected on multiple devices.

  • webRtcDtlsCertificateAlgorithm:  string?

    Provided in the WebRTC negotiation.

  • webRtcDtlsCertificateThumbprint:  string?

    Provided in the WebRTC negotiation.

  • webRtcIceUfrag:  string?

    Provided in the WebRTC negotiation.

  • webRtcIcePwd:  string?

    Provided in the WebRTC negotiation.

PartyChatLatencyRecord

Results of a latency measurement to a server.

  • serverFqdn:  string

    Domain name of the server, like foo.cloudapp.net.

  • targetLocation:  string

    Human-readable location.

PartyChatMemberRef

Reference one user session in a party chat.

  • partyId:  UUID

    GUID of the party chat instance.

  • gamertag:  string

    Xbox live gamertag of the member in the chat.

  • index:  number

    Index of the user's record in the party chat record. This is used to handle scenarios where a user might be connected on multiple devices, we need to distinguish which record is being operated on.

PartyChatServer

A server used to measure location-based latency in party chat.

  • serverFqdn:  string

    Domain name of the server, like foo.cloudapp.net.

  • targetLocation:  string

    Human-readable location.

PartyChatSession

A Party Chat voice session.

  • partyId:  UUID

    The party ID.

  • serverConnectionCandidates:  Array<string>

    Q10 relay candidates, filled in sometime after (and possibly instantly after) QoS metics are reported in POST /partyChat/handshake/qosServers.

  • members:  Array<object>

    A list of members currently in the party. This is an Xbox Party Chat, so gamertags and references are always provided, but the linked mixerUser is only provided if that Xbox user has a linked Mixer account.

    • Item properties:
      • gamertag:  string
      • simpleConnectionState:  number
      • mixerUser:  object?
        • id:  number
        • username:  string
      • ref:  PartyChatMemberRef

PartyChatSubscription

Provided to the Mixer server, then MPSD, when the client sets up an RTA subscription. See the Book of Party Chat / MPSD reference for more information about this, and how to use it.

  • active:  boolean

    Whether the subscription is active, generally always set to true.

  • connection:  UUID

    Connection ID obtained from the RTA subscription response.

  • subscriptionId:  UUID

    Globally unique random GUID generated by the local device.

  • changeTypes:  Array<string>

    The parts of the MPSD document that will result in shouldertaps.

PlayerLayout

The PlayerLayout configures the arrangement and positioning of the channels within a costream or hosting session.

  • name:  string

    Name of the layout to use for this arrangement. Possible options are mobile, grid, sidebar and chooser.

  • order:  Array<number>

    Deprecated: use settings instead.

  • players:  Array<object>

    Contains settings for channels. Channels are arranged in the layout in the order they're described here.

    • Item properties:
      • channelId:  number

        The channel shown in this player.

      • lowLatency:  boolean

        Whether to attempt to load low latency, or not. Defaults to true.

      • interactivePinned:  boolean

        If true and this channel has Interactive enabled, Interactive will be locked to this channel.

      • volume:  number

        Default volume level of the player, as a percentage from 0 to 1.

      • left:  number

        Player position from the left of the screen, as a percentage from 0 to 1.

      • top:  number

        Player position from the top of the screen, as a percentage from 0 to 1.

      • width:  number

        Player width on the screen, as a percentage from 0 to 1.

      • height:  number

        Player height on the screen, as a percentage from 0 to 1.

PrivatePopulatedUser extends PrivateUser

A fully populater user with channel, preferences, groups and private details.

PrivateUser extends User

A fully populater user with channel, preferences, groups and private details.

  • email:  string

    The users email address.

  • password:  string

    The users password.

    • minLength: 4
  • twoFactor:  object

    The 2 factor authentication settings for this user.

    • enabled:  boolean

      Indicates whether 2fa is enabled.

    • codesViewed:  boolean

      Indicates whether recovery codes have been viewed.

ProgressionActiveStorageProject

A type that contains information about progression storage that has been loaded into a channel.

  • channelId:  uint

    The target channel for the progression storage.

  • gameTypeId:  uint

    The mixer type ID of the game.

  • projectId:  UUID

    The ID of the progression storage project.

  • progressionActive:  boolean?

    If the progression storage project is currently active in the channel.

  • startTime:  IsoDate?

    The loaded date of the progression storage project into the channel.

ProgressionActiveStorageProjectList

A type that contains a page of results from an active progression project query.

  • continuationToken:  string?

    The token to use to retrieve the next page of results, if there are more results.

  • results:  Array<ProgressionActiveStorageProject>

    The list of progression storage projects for the channel.

ProgressionAppAccess

A type that contains key value pairs where the key is an app or game reference and the value is its permissions to a progression project.

  • All keys:  ProgressionGameAccess

    Each property is a mapping from an app or game to what permissions it has to a user's progression storage. Each property's name is an OAuth clientId or an Xbox game title ID.

ProgressionChannelViewerStorageLoadResult

A type that contains information about an operation to run against a player or channel viewers.

  • results:  Array<ProgressionViewerStorageLoadResult>

    The list of results of this user's load operations for any projects with storage currently loaded into the channel.

ProgressionEvent

A type that contains information about a notification event to be sent for progression storage changes.

  • id:  UUID

    The unique ID of this event.

  • name:  string

    The name of this event.

  • type:  string (unspecified,unlock,valueUpdate)

    The type of notification.

  • owningProject:  UUID?

    A project id of the project that controls rights to read, modify or delete this event.

  • awardMessages:  Array<LocaleAndString>?

    A list of language code to localized strings to be shown to the viewer when the event is recieved.

  • awardMessagesDetails:  Array<LocaleAndString>?

    A list of language code to localized strings to be shown to the viewer when they click on the event.

  • maxDisplayLengthInMilliseconds:  uint?

    Maximum time that the awardMessages string will be shown. Typically this is on the firect of these events recieved.

  • minDisplayLengthInMilliseconds:  uint?

    Minimum time that the awardMessages string will be shown to the viewer.

ProgressionEventList

A type that contains a page of results from a progression project events query.

  • continuationToken:  string?

    The token to use to retrieve the next page of results, if there are more results.

  • results:  Array<ProgressionEvent>

    The list of progression project events.

ProgressionGameAccess

Available rights in comma delimited string:

  • none - no access, should not be used with other rights.
  • readFromAudience - allows a game or app to read values from viewers' storage.
  • writeToAudience - allows a game or app to write to viewers' storage.
  • readFromPlayer - allows a game or app to read project storage of the authenticated user.
  • writeToPlayer - allows a game or app to write to project storage of the authenticated user.
  • deletePlayerStorage - allows a game or app to delete project storage of the authenticated user, if the project is not published.

ProgressionLocalizedNotification

A type that contains information about an operation to run against a player or channel viewers.

  • awardMessage:  string?

    Notification to be sent to the viewer if the operation results in a value change.

  • awardMessageDetails:  string?

    Additional details to be shown if the notificatrion is clicked.

  • id:  UUID

    Guid of this event, matches with notificationEventId of ProgressOperation

  • language:  string

    The two digit language code of the language the event should be rendered in

  • name:  string

    The non-localized friendly name of the event.

  • type:  string (unspecified,unlock,valueUpdate)

    The type of the event.

  • maxDisplayLengthInMilliseconds:  uint

    Maximum time that the awardMessages string will be shown. Typically this is on the firect of these events recieved.

  • minDisplayLengthInMilliseconds:  uint

    Minimum time that the awardMessages string will be shown to the viewer.

ProgressionOperation

A type that contains information about an operation to run against a player or channel viewers.

  • amount:  number?

    The value to modify a current value by. Required for all operations except notify.

  • awardMessage:  string?

    Notification to be sent to the viewer if the operation results in a value change.

  • awardMessageDetails:  string?

    Additional details to be shown if the notificatrion is clicked.

  • countOfOperationsPerTimeRestriction:  number

    Number of modifications to the target 'stat' that should be allowed during the 'timeRestriction' period.

  • maxVal:  number

    Maximum value restriction. The operation will not run if the result will violate this constraint.

  • minVal:  number

    Minimum value restriction. The operation will not run if the result will violate this constraint.

  • notificationEventId:  UUID

    Unique ID of this operation. Can be used to send events without a notification or for localized award messages.

  • op:  ProgressionOperationType

    The operation to perform on the current value.

  • sessionIds:  Array<UUID>

    a list of viewer session IDs to restrict this operation to executing for. Can be correlated with a Mixplay interactive participant's sessionID.

  • stat:  string

    The name of the value to operate on. Required for all operations except notify.

  • timeRestriction:  string (daily,monthly,weekly)

    Restricts this operation from running if the value has already been modified within the time interval.

ProgressionOperationError

A type that contains information a viewer session and failed operation.

  • sessionId:  UUID

    The session IS of the user that this failure occurred for. Can be correlated with a Mixplay interactive participant's sessionID

  • error:  string

    The information on the failure that occurred.

ProgressionOperationErrors

A type that contains information about failures in a partial success operation.

ProgressionOperationType

Available operations are:

  • inc - Increment, an addition operation.
  • dec - Decrement, a subtraction operations.
  • 'del' - Delete, remove that value from the users storage.
  • and - A bitwise AND operartion.
  • or - A bitwise OR operation.
  • xor - A bitwise XOR operation.
  • set - A direct overwrite of any existing value.
  • notify - Forces a notification without a corresponding value modification.

ProgressionOperations

A type that contains information about progression operations to run against a player or channel viewers.

ProgressionPlayerStorage

A type that contains information about progression storage for a player.

  • projectId:  UUID?

    The project ID of the storage. Only set when returning storages for multiple projects.

  • statistics:  Array<ProgressionStatistic>

    The target channel for the progression storage.

ProgressionPlayerStorageList

A type that contains a page of results from an progression storage query.

  • continuationToken:  string?

    The token to use to retrieve the next page of results, if there are more results.

  • results:  Array<ProgressionPlayerStorage>

    The list of storages across all projects.

ProgressionProject

A type that contains information about progression storage across users for a specific game.

  • id:  UUID

    The unique ID of this project.

  • name:  string

    The name of this project.

  • gameTypeId:  uint

    The mixer type ID of the game.

  • owningUsers:  Array<uint>

    A list of user IDs of users that have rights to read, modify or delete this project.

  • applicationAccess:  ProgressionAppAccess

    A list of OAuth applications and what rights they have to project storage.

  • xboxDecimalTitleIdAccess:  ProgressionAppAccess

    A list of Xbox games and what rights they have to project storage.

  • fiveMinuteHeartbeatOperations:  Array<ProgressionOperation>

    Operations that should be executed automatically for all viewers every five minutes any time the game is streamed.

  • isPublished:  boolean

    If the project is published. The fiveMinuteHeartbeatOperations will only execute in test streams for unpublished projects.

ProgressionProjectList

A type that contains a page of results from a progression project query.

  • continuationToken:  string?

    The token to use to retrieve the next page of results, if there are more results.

  • results:  Array<ProgressionProject>

    The list of progression projects.

ProgressionProjectType

Available rights in comma delimited string:

  • none - no type set, do not use.
  • inGameRewards - viewing on Mixer earns rewards/state that can be used or redeemed by playing the game.
  • mixerCrossChannel - viewing on Mixer writes a save game that can be used when viewing the game on other channels on Mixer.

ProgressionQueryContinuation

A type that contains continuation information for a query.

  • continuationToken:  string?

    The token to use to retrieve the next page of results, if there are more results.

  • limit:  number

    The maximum number of loaded project to return.

ProgressionStatistic

A type that contains information about a single value in progression storage.

  • stat:  string

    The name of the stored value.

  • amount:  number

    The current value for the player or viewer.

ProgressionViewerStatisticValue

A type that contains information about a single value in progression storage.

  • sessionId:  UUID

    The session ID for the viewer that has this value. Can be correlated with a Mixplay interactive participant's sessionID.

  • value:  number

    The current value for the viewer.

ProgressionViewerStorageLoadResult

A type that contains information about a single value in progression storage.

  • channelId:  uint

    The channel the viewer's storage for this project is currently loaded in.

  • project:  ProgressionActiveStorageProject

    Information about the project whose storage the load operation was run for.

  • result:  string (unspecified,activated,alreadyActive,activeOnOtherChannel,activationFailed)

    The result state of the load operation.

  • statusCode:  uint?

    The http status code associated with the load result.

ProgressionViewersStatisticValues

A type that contains information about a single value in progression storage.

  • stat:  string

    The name of the statistic for which values are being provided across the viewing audience.

  • results:  Array<ProgressionViewerStatisticValue>

    The list of connected viewer sessions and values, if the viewer has that value set.

Recording extends TimeStamped

Details about a recorded Broadcast from a channel.

  • id:  uint

    The unique ID of the recording.

  • channelId:  uint

    The channel ID this recording is a video of.

  • state:  string (PROCESSING,AVAILABLE,DELETED)

    The state of this recording, which may be one of:

    • PROCESSING - This Recording is being processed by Mixer and is unavailable to watch.
    • AVAILABLE - This Recording is available and can be watched on Mixer.
    • DELETED - This Recording has been deleted and cannot be watched.
  • viewsTotal:  uint

    The number of users who have viewed this recording.

  • expiresAt:  IsoDate

    The date this recording will be deleted at.

  • vods:  Array<VOD>

    The video formats available for this recording.

  • viewed:  boolean?

    Whether the current user has viewed the recording. This will generally only appear when the recording is looked up from an endpoint with user in the query string.

  • name:  string?

    Name of the Recording, usually the title of the channel at the time of the recording unless the creator changed it.

  • typeId:  uint

    Type id of the recording, usually the type id of the channel at the time of the recording, unless the creator changed it.

  • duration:  number

    Duration of the recording in seconds.

  • seen:  boolean?

    Defines if the video was seen by the user. Only present when the user context was given.

  • contentId:  string

    The content id of the Recording to be referenced to v2 VoD

RecurringPayment extends TimeStamped

A recurring payment is a payment which will continue to be charged to the user every period until it is canceled. These are used for subscriptions and Mixer Pro.

  • id:  uint

    The unique ID of the payment.

  • type:  string (subscription)

    The type of the product the payment is for.

  • relid:  uint

    The ID of the target the payment is for. This can be a channel or a user.

  • status:  string (active,cancelled,failed,before_gateway)

    The status of the payment.

  • cancelled:  boolean

    Indicates whether the payment has been cancelled. This is not the same as status being set to cancelled; this property indicates that the user cancelled a running payment.

  • gateway:  string (braintree,stripe)

    The internal name of the payment processsor.

  • timesPaid:  uint

    Counts the amount of times this recurring payment has recurred.

  • user:  uint

    The ID of the user the payment is for.

RecurringPaymentExpanded extends RecurringPayment

An augmented recurring payment with additional details, used in Details views. Provides nested objects such as the owner of the RecurringPayment.

Redeemable extends TimeStamped

A redeemable is an item granted to a user that can be exchanged for an item or activity. These are currently only used for Mixer Pro membership and channel subscriptions.

  • id:  uint

    The unique ID of the redeemable.

  • ownerId:  uint

    The ID of the owning user.

  • state:  string (unpaid,paid,redeemed)

    The state of this redeemable, which may be one of:

    • unpaid - This redeemable is not paid for and still requires payment.
    • paid - This redeemable has been paid for.
    • redeemed - This redeemable has been used.
  • type:  string (Pro,Subscription)

    The type of this Redeemable. Currently only two redeemables are available. Mixer Pro Membership and Channel Subscriptions.

  • code:  string?

    The redeem code.

  • redeemedById:  uint?

    The ID of the user that used the code.

  • redeemedAt:  IsoDate?

    The time the item was redeemed.

  • meta:  object

    An object containing meta information about a redeemable.

RedeemablePartner extends TimeStamped

Extra information added to a redeemable when it is a Partner's monthly subscription / Pro codes.

  • id:  uint

    The unique ID of the channel.

  • redeemableId:  uint

    The id of the related redeemable.

  • partnerId:  uint

    The id of the related partner.

Resource

Resources are general use items that are stored and linked to other entities within Mixer.They usually represent images or backgrounds for a channel or user.

  • id:  uint

    The unique ID of the resource.

  • type:  string

    The type of the resource.

  • relid:  uint

    Id linking to the parent object.

  • url:  string

    The url of the resource.

  • store:  string (s3)

    The storage type of the resource.

  • remotePath:  string

    Relative url to the resource.

  • meta:  object?

    Additional resource information.

Role

Available roles are:

  • User - A regular user. All Users have this.
  • Banned - A user who has been banned from the channel will have this role.
  • Pro - A user who has an active Mixer Pro subscription will have this role.
  • VerifiedPartner - A channel who is marked as Verified but does not have a Subscribe button will have this role.
  • Partner - A channel that has a Subscribe button will have this role.
  • Subscriber - A user who has an active subscription for the partnered channel involved in this request will have this role.
  • ChannelEditor - A user marked as a Channel Editor will be able to change that channel's title, game, and other channel properties.
  • Mod - A user will have this role if they are a moderator in the channel involved in this request.
  • GlobalMod - A user will have this role if they are a global moderator on Mixer.
  • Staff - A User will have this role if they are Mixer Staff.
  • Founder - A User will have this role if they are a Mixer Founder.
  • Owner - A user will have this role if they are the owner of the channel involved in this request.

SemVer

A semantic version number.

Example:

1.3.10

Session

Provides details about a Mixer user's session.

  • expires:  UnixTimestampMillis

    The time when the session expires.

  • meta:  object

    Session meta data.

    • device:  string

      The device type.

    • client:  string

      The client name. "Other" is web.

    • cversion:  string

      Semantic version of the client.

    • os:  string

      The operating system name of the client.

  • ip:  string

    Last IP used for that session. This can be IPv4 or IPv6.

  • id:  string

    The session ID as a UUID.

Share extends TimeStamped

A share allows a user to share an entity with another user. Currently this is only used for InteractiveGames.

  • id:  uint

    The unique ID of the share.

  • type:  string (interactiveGameDraft)

    The type of the share.

  • relid:  string

    The id of the shared resource.

  • code:  string?

    The Share code given to this Share. If available this code can be used to gain access to this resource.

  • userId:  uint?

    The user ID of the target, can be unset if code is set.

SocialInfo

The social information for a channel.

  • twitter:  string

    Twitter profile URL.

  • facebook:  string

    Facebook profile URL.

  • youtube:  string

    Youtube profile URL.

  • player:  string

    Player.me profile URL.

  • discord:  string

    Discord username and tag.

  • verified:  Array<string>

    A list of social keys which have been verified via linking the Mixer account with the account on the corresponding external service.

    • Item type: string

StreamHostsAnalytic extends ChannelAnalytic

Metric showing when a channel is hosted.

  • hoster:  uint?

    The channel doing the hoster, may be omitted if the channel is the hoster.

  • hostee:  uint?

    The channel being hosted, may be omitted if the channel is the hostee.

StreamSessionsAnalytic extends ChannelAnalytic

Metric showing a channel going online or offline.

  • online:  boolean

    Whether this event is the channel going online, or offline.

  • duration:  uint?

    The length of the last stream in seconds. This is only included in offline events.

  • type:  uint?

    The ID of the game the stream was playing. This is only included in offline events.

  • partnered:  boolean

    Whether the channel was partnered at the time of this data point.

StreamViewer

A stream viewer represents a record for every time a viewer watches a stream for any period of time

  • id:  UUID

    Unique ID for this stream viewer document.

  • broadcastId:  string

    ID of the broadcast that the user was watching.

  • channelId:  string

    ID of the Channel this stream belongs to.

  • browser:  string

    The browser the user uses to watch the stream.

  • costreamDepth:  string

    0 = not in a costream, 1 = in a costream and the primary stream the user navigated to, 2 = secondary view within a costream.

  • durationInSeconds:  number

    The duration of the viewing period.

  • platform:  string

    The platform the user uses to watch the stream.

  • startedAt:  IsoDate

    The time stamp when the document is created.

  • userId:  string

    ID of the user who is watching.

  • typeId:  string

    The ID of the game type that is being streamed.

  • country:  string

    The country where the viewer is in.

  • partnered:  boolean

    Whether the broadcaster is partnered with mixer.

SubRevenueAnalytic extends ChannelAnalytic

A channel metric that shows when a channel's subscription revenue changes.

  • gateway:  string (redeemable,stripe,braintree)

    The gateway that the subscription was made with.

  • total:  number

    The amount of revenue gained through this gateway.

  • gross:  number

    The amount of money prior to transaction fees being applied.

  • count:  uint

    The number of subscriptions made through this gateway.

Subscription extends TimeStamped

A subscription lists details about a user's subscription to a resource.

  • id:  uint

    The unique ID of the subscription.

  • resourceId:  uint?

    ID of the resource type this payment is for. Currently, this is only a channel ID.

  • resourceType:  string?

    The resource type the resourceId points to. Currently, this is only channel.

  • status:  string (active,expired,pending)

    The status of the subscription.

  • cancelled:  boolean

    Indicates whether the payment has been cancelled after completion.

  • expiresAt:  IsoDate

    The time when the subscription expires.

SubscriptionExpanded extends Subscription

The subscription belonging to this payment.

  • user:  User

    The user of the payment.

  • group:  UserGroup

    The group obtained through this payment.

SubscriptionPlan

Details on a subscription plan

  • id:  string

    Unique ID for this plan.

  • name:  string

    Name of the plan.

  • type:  string

    Type of plan.

  • currency:  string

    Currency for purchasing the plan.

  • amount:  string

    Amount to purchase this plan.

SubscriptionWithGroup extends Subscription

A subscription with added group information as a nested object.

  • group:  uint

    The group ID of the group the subscription grants the user access to.

  • Group:  UserGroup

    The embedded group assigned to the user.

SubscriptionsAnalytic extends ChannelAnalytic

A channel metric that shows when a subscription was made to a channel.

  • total:  uint

    The total number of subscribers the channel now has.

  • delta:  number

    Increment that the total changed as a result of this event.

  • user:  uint

    The ID of the user who subscribed, may not be present in aggregations.

Team extends TimeStamped

A team is a group of users.

  • id:  uint

    The unique ID of the team.

  • ownerId:  uint

    The ID of the owner user.

  • token:  string

    The internal name of the team.

    • minLength: 4
    • maxLength: 20
  • name:  string

    The display name of the team.

    • minLength: 4
    • maxLength: 36
  • description:  string?

    The description of the team.

  • logoUrl:  string?

    The url pointing to a logo image.

  • backgroundUrl:  string?

    The url pointing to a background image.

  • social:  SocialInfo?

    Social info of the team.

TeamMembership extends TimeStamped

Provides details about the membership of a user to a team.

  • id:  uint

    The unique ID of the team membership.

  • teamId:  uint

    The team ID of this membership.

  • userId:  uint

    The user ID of this membership.

  • accepted:  boolean

    If false, the user has just been invited. If true, the user has joined the team.

TeamMembershipExpanded extends TeamMembership

A team membership expanded with additional properties including nested relations.

  • isPrimary:  boolean

    Indicates that this team is the users primary.

  • owner:  User?

    Embedded user object, may be unset if the group owner's account is disabled.

  • teamMembership:  TeamMembership

    The membership object linking team and user.

TestStreamSetting

Lists the test stream settings for a Channel.

  • id:  uint

    The ID of the channel the settings are for.

  • isActive:  boolean

    Whether the next channel broadcast will be in test stream mode.

  • hoursQuota:  number

    How many test stream hours the channel gets at every internal.

  • hoursRemaining:  number

    The number of test stream hours left this period.

  • hoursResetIntervalInDays:  uint

    The interval, in days, at which hoursRemaining is set to the hoursQuota.

  • hoursLastReset:  IsoDate?

    The last date at which the user's hours were reset.

TimeStamped

A type that contains information about creation, update and deletion dates.

  • createdAt:  IsoDate

    The creation date of the channel.

  • updatedAt:  IsoDate

    The update date of the channel.

  • deletedAt:  IsoDate?

    The deletion date of the channel.

TranscodingProfile

A transcoding profile controls the transcoding options for a channel.

  • id:  uint

    The unique id of the transcoding profile.

  • name:  string

    The name of the transcoding profile.

TranscodingProfileTranscode

Represents a single transcode option for a channel.

  • id:  uint

    The unique id of the transcode.

  • name:  string

    The name of the transcode.

  • title:  string

    The display title of the transcode.

  • width:  uint

    The width (in pixels) of the transcode.

  • height:  uint

    The height (in pixels) of the transcode.

  • bitrate:  uint

    The bitrate of the transcode.

  • fps:  uint

    The FPS of the transcode.

  • requiresPartner:  boolean

    If this transcode requires to be partnered.

TypeInformation

Describes a type stored in the Mixer backend.

  • aliases:  Array<string>?

    Aliases for the type.

  • backgroundUrl:  string?

    URL to background picture.

  • coverUrl:  string?

    URL to cover picture.

  • id:  string

    The type ID.

  • name:  string?

    Name for the type.

  • titles:  Array<TypeTitle>?

    List of titles associated with the type.

  • verified:  boolean

    whether the title has been verified.

  • parent:  string

    The parent of the type

  • description:  string?

    A text description of the type

  • source:  string?

    The source of this type

  • viewersCurrent:  number

    The current number of viewers for the type

  • online:  number
  • availableAt:  IsoDate?

    The date at which the type became available

TypeTitle

Describes a title associated with a type.

  • aumId:  string?

    The "Application User Model ID" from the Modern Store catalog.

  • kglId:  string?

    The KGL ID of the application in the known games list.

  • processName:  string?

    Process name of the application.

  • productId:  string?

    Windows Store product id (aka big id).

  • titleId:  number?

    The Xbox title ID.

UUID

A universally unique identifier (UUID).

Example:

4825bcf1-9640-4d91-bf66-426731cfa717

UnixTimestampMillis extends uint

A unix timestamp with milliseconds.

User extends TimeStamped

A user is a person on Mixer; they can sign in and interact with the site. Each user owns a channel, which they can broadcast to.

  • id:  uint

    The unique ID of the user.

  • level:  uint

    The user's current level on Mixer, as determined by the number of experience points the user has.

  • social:  SocialInfo?

    Social links.

  • username:  string

    The user's name. This is unique on the site and is also their channel name.

    • minLength: 1
    • maxLength: 20
  • email:  string?

    The user's email address. This is only shown if apropriate permissions are present.

    • maxLength: 190
  • verified:  boolean

    Indicates whether the user has verified their e-mail.

  • experience:  uint

    The user's experience points.

  • sparks:  uint

    The amount of sparks the user has.

  • avatarUrl:  string?

    The user's profile URL.

  • bio:  string?

    The user's biography. This may contain HTML.

  • primaryTeam:  uint?

    The ID of user's main team.

UserGroup extends TimeStamped

A Group which a user can belong to can control features or access controls throughout Mixer.

  • id:  uint

    The unique ID of the group.

  • name:  Role

    The name of the group.

UserInteractiveMetric

A user interactive metric represents a record for every time a user views an channel with interactive running for any period of time

  • id:  UUID

    Unique ID for this stream viewer document.

  • versionId:  string

    The version of the interactive project that was run.

  • channelId:  string

    ID of the Channel this the user was viewing.

  • userId:  string

    ID of the user that joined the interactive session.

  • sparksSpent:  uint

    The total sparks the user spend during the interactive session.

  • inputsGiven:  uint

    The total number of inputs from the user during the interactive session.

  • timeToInteract:  uint

    The amount of time between the user joining the session and when the user sent their first input.

  • playtime:  uint

    The amount of time the user spend in the interactive session.

  • region:  string

    The user's region.

  • platform:  string

    The user's platform.

  • browser:  string

    The user's browser.

  • referrer:  string

    The referrer.

  • timestamp:  IsoDate

    The time stamp when the document was created.

UserLog

A UserLog entry lists events and changes made to a user.

  • id:  uint

    The unique ID of the log entry.

  • userId:  uint

    User ID of the log entry.

  • event:  string

    A unique identifier for the log entry.

  • eventData:  object?

    Unstructured data describing the event.

  • source:  string (GUEST,SELF,APP,INTERNAL,ADMIN)

    Source data for the event action. This may be one of:

    • GUEST: a change by an unauthenticated user
    • SELF: a change by the user themselves
    • APP: a change by an external OAuth app
    • INTERNAL: a change by some internal Mixer system
    • ADMIN: a change by a user who was permitted to administer the user's account
  • sourceData:  object?

    Unstructured data containing more information about the event's source.

    • SELF and GUEST sources will include an ip address
    • APP sources will contain the OAuth app ID
    • INTERNAL and ADMIN sources will omit this attribute
  • createdAt:  IsoDate

    The date the log entry occurred at.

UserPreferences

Object containing user preferences.

  • chat:sounds:html5:  boolean?

    Use html5 to play chat sounds.

  • chat:sounds:play:  boolean?

    Play sounds in chat.

  • chat:whispers:  boolean?

    Allow receiving whispers.

  • chat:timestamps:  boolean?

    Show timestamps in chat.

  • chat:chromakey:  boolean?

    Set the chat color to a certain color so it can be easily replaced.

  • chat:tagging:  boolean?

    Enable chat tagging via @username.

  • chat:sounds:volume:  number≤1?

    Chat sound volume as unit interval.

  • chat:colors:  boolean?

    Use colors in chat.

  • chat:lurkmode:  boolean?

    Hide while in chats.

  • channel:notifications:  object?

    Notification settings.

    • ids:  Array<string>

      List of sources notifications are allowed from.

    • transports:  Array<string>

      Allowed notification transports.

      • Item type: string (notify,email)
  • channel:mature:allowed:  boolean?

    Confirmed mature channels.

  • channel:player:forceflash:  boolean?

    Force the player to the flash version.

UserWithChannel extends User

A User object with an embedded Channel.

  • channel:  Channel

    The user's channel.

UserWithGroups extends User

A User object with an embedded array of groups they belong to.

  • groups:  Array<UserGroup>

    The groups of the user.

VOD extends TimeStamped

A VOD is a recorded broadcast which can be watched again on Mixer.

  • id:  uint

    The unique ID of the VOD.

  • baseUrl:  string

    The base URL of a VOD

  • format:  string (hls,raw,dash,thumbnail,chat)

    The format of the recording. It can be in:

  • data:  object?

    Format-specific information about the VOD. Is null when type is chat.

    • Width:  uint

      Present for hls, raw, dash and thumbnail.

    • Height:  uint

      Present for hls, raw, dash and thumbnail.

    • Fps:  number?

      Present for hls, raw and dash.

    • Bitrate:  uint?

      Present for hls, raw and dash.

  • recordingId:  uint

    Id of the parent recording.

VideoManifestResolution

A resoloution available for a video manifest.

  • name:  string

    The name of the resolution.

  • slug:  string

    The slug of the resolution.

  • width:  uint?

    The width of the stream, only set if hasVideo is true.

  • height:  uint?

    The height of the stream, only set if hasVideo is true.

  • hasVideo:  boolean

    Indicates whether the manifest includes video.

  • bitrate:  uint

    The total bitrate.

VideoSettings

Video settings linked to a user's channel

  • isLightstreamEnabled:  boolean

    Indicates whether the user has enabled Lightstream studio integration

ViewerAnalytic extends ChannelAnalytic

A channel metric, which contains the number of anonymous and authenticated Mixer users at a point in time.

  • anon:  uint

    Number of anonymous viewers watching the channel at a point in time.

  • authed:  uint

    Number of authenticated viewers, including lurkers, watching the channel at a point in time.

ViewerCount

A channel metric showing how many viewers and of what type were watching the channel at a set point in time.

  • time:  IsoDate

    The time of the sample.

  • anon:  uint

    Amount of anonymous viewers.

  • authed:  uint

    Amount registered viewers.

ViewerMetricAnalytic extends ChannelAnalytic

A channel metric showing details about a viewer on a channel.

  • country:  string?

    The viewer's two character country code, if it can be determined.

  • browser:  string (chr,ff,ie,ios,sf,an)?

    The viewer's browser, if it can be determined.

  • platform:  string (desktop,tablet,mobile)?

    The viewer's platform, if it can be determined.

ViewerSessionCountAnalytic extends ChannelAnalytic

A metric showing the number of viewers in a period on a channel.

  • count:  uint

    Number of viewers in the period.

Webhook

A registered webhook. For more information about webhooks, see aka.ms/mixrpokr.

  • id:  UUID

    The ID of the webhook.

  • kind:  string (web)

    The kind of hook this is, always set to "web" currently.

  • events:  Array<string>

    A list of events the webhook is subscribe to.

  • isActive:  boolean

    Whether the webhook is currently active.

  • url:  string

    The URL this webhook will send data to.

  • expiresAt:  IsoDate

    THe date the webhook will expire if not renewed using POST /hooks/{hookId}/renew.

  • renewUrl:  string

    The URL to hit to renew the webhook.

  • deactivationReason:  object?

    If the webhook was deactivation, the deactivationReason will be present and explain why.

    • code:  uint (0,1,2)

      Machine-readable reason this hook was deactivated.

      • 0 if it was deactivated by a manual call to the deactivate endpoint
      • 1 if it was deactivated because it was subscribed to an event which will fire at most one time, ever, and has now done so.
      • 2 if it was deactivated because the remote website repeatedly failed when we tried to send events to it.
    • reason:  string

      Human-readable reason describing why the webhook was deactivated.

XblFriendsResponse

Response data for call to get Xbox Live friends

  • userId:  uint

    Unique user id

  • username:  string

    Username of user

  • avatarUrl:  string

    Link to the avatar of user

  • level:  uint

    Mixer level of user

  • channelId:  uint

    Mixer channel id

  • online:  boolean

    Indicates whether the user is online

uint

Unsigned integer.