The Community's roles: the built-in owner and moderator roles, then the roles the Community defined, in order. Requires manage-roles. Viewer-specific and never cached.
Parameters
Output
Encoding
application/jsonroles
array
Required
No description available.
viewerActions
array
Optional
What this viewer may do to the list itself, decided by the service. Absent means nothing.
Errors
AuthenticationRequired
CommunityNotFound
InsufficientRole
InvalidRequest
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "The Community's roles: the built-in owner and moderator roles, then the roles the Community defined, in order. Requires manage-roles. Viewer-specific and never cached.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "CommunityNotFound"
},
{
"name": "InsufficientRole"
},
{
"name": "InvalidRequest"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"roles": {
"items": {
"ref": "com.getorbyt.community.defs#roleView",
"type": "ref"
},
"maxLength": 32,
"type": "array"
},
"viewerActions": {
"description": "What this viewer may do to the list itself, decided by the service. Absent means nothing.",
"items": {
"knownValues": [
"createRole"
],
"type": "string"
},
"maxLength": 8,
"type": "array"
}
},
"required": [
"roles"
],
"type": "object"
}
},
"parameters": {
"properties": {
"community": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"community"
],
"type": "params"
},
"type": "query"
}