Returns badges issued to the authenticated user, organized by display slot. Also indicates which badges are currently selected in the user's chat profile.
Parameters
Output
application/jsonserver
refplace.stream.badge.defs#badgeView
Optional
Computed server badge (streamer, mod, or bot) for the given streamer context. Absent if the user has no server role.
streamer
refplace.stream.badge.defs#badgeSlot
Required
Streamer-issued badges (e.g. VIP) available to the user.
user
refplace.stream.badge.defs#badgeSlot
Required
Globally-issued cosmetic badges (e.g. event) available to the user.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"streamer",
"user"
],
"properties": {
"user": {
"ref": "place.stream.badge.defs#badgeSlot",
"type": "ref",
"description": "Globally-issued cosmetic badges (e.g. event) available to the user."
},
"server": {
"ref": "place.stream.badge.defs#badgeView",
"type": "ref",
"description": "Computed server badge (streamer, mod, or bot) for the given streamer context. Absent if the user has no server role."
},
"streamer": {
"ref": "place.stream.badge.defs#badgeSlot",
"type": "ref",
"description": "Streamer-issued badges (e.g. VIP) available to the user."
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"streamer": {
"type": "string",
"format": "did",
"description": "DID of the streamer channel to compute the server badge against."
}
}
},
"description": "Returns badges issued to the authenticated user, organized by display slot. Also indicates which badges are currently selected in the user's chat profile."
}