Get list of communities that have authorized a specific aggregator. Used by aggregators to query which communities they can post to. Authentication optional.
Parameters
Output
Encoding
application/jsonauthorizations
array
Required
Array of community authorizations for this aggregator
cursor
string
Optional
Pagination cursor for next page
Errors
AggregatorNotFound
Aggregator DID does not exist or has no service declaration Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Get list of communities that have authorized a specific aggregator. Used by aggregators to query which communities they can post to. Authentication optional.",
"errors": [
{
"description": "Aggregator DID does not exist or has no service declaration",
"name": "AggregatorNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"authorizations": {
"description": "Array of community authorizations for this aggregator",
"items": {
"ref": "social.coves.aggregator.defs#communityAuthView",
"type": "ref"
},
"type": "array"
},
"cursor": {
"description": "Pagination cursor for next page",
"maxLength": 500,
"type": "string"
}
},
"required": [
"authorizations"
],
"type": "object"
}
},
"parameters": {
"properties": {
"aggregatorDid": {
"description": "DID of the aggregator",
"format": "did",
"type": "string"
},
"cursor": {
"description": "Pagination cursor",
"maxLength": 500,
"type": "string"
},
"enabledOnly": {
"default": true,
"description": "Only return enabled authorizations",
"type": "boolean"
},
"limit": {
"default": 50,
"description": "Maximum number of authorizations to return",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"aggregatorDid"
],
"type": "params"
},
"type": "query"
}