Count current ratings and their average, optionally filtered by subject and/or author.
Parameters
Output
Encoding
application/jsonaverage
string
Optional
No description available.
count
integer
Required
No description available.
Errors
ActorNotFound
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"errors": [
{
"name": "ActorNotFound"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"count"
],
"properties": {
"count": {
"type": "integer"
},
"average": {
"type": "string"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"author": {
"type": "string",
"format": "at-identifier",
"description": "rater's did"
},
"subject": {
"type": "string",
"format": "at-uri",
"description": "uri of the subject userstyle"
}
}
},
"description": "Count current ratings and their average, optionally filtered by subject and/or author."
}