Lists a community's moderation audit log.
Parameters
Output
Encoding
application/jsoncursor
string
Optional
Pagination cursor for the next page, if more entries exist.
entries
array
Required
Log entries, most recent first.
Errors
AuthRequired
The request is missing, malformed, or unverifiable service auth. Forbidden
The caller lacks the moderation.viewLog permission. CommunityNotFound
No community exists at the given DID. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Lists a community's moderation audit log.",
"errors": [
{
"description": "The request is missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "The caller lacks the moderation.viewLog permission.",
"name": "Forbidden"
},
{
"description": "No community exists at the given DID.",
"name": "CommunityNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"description": "Pagination cursor for the next page, if more entries exist.",
"type": "string"
},
"entries": {
"description": "Log entries, most recent first.",
"items": {
"description": "A moderation log entry.",
"ref": "social.colibri.beta.community.defs#moderationView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"entries"
],
"type": "object"
}
},
"parameters": {
"properties": {
"community": {
"description": "The community to list the moderation log for.",
"format": "did",
"type": "string"
},
"cursor": {
"description": "Pagination cursor from a previous response.",
"type": "string"
},
"limit": {
"default": 50,
"description": "Maximum number of log entries to return.",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"community"
],
"type": "params"
},
"type": "query"
}