Skip to main content

tools.ozone.moderation.queryEvents

#main

List moderation events related to a subject.

Parameters

PropertyTypeKnown ValuesRequiredDescription
typesarray--
createdBystring (did)--
sortDirectionstring-Sort direction for the events. Defaults to descending order of created at timestamp.
createdAfterstring (datetime)-Retrieve events created after a given timestamp
createdBeforestring (datetime)-Retrieve events created before a given timestamp
subjectstring (uri)--
includeAllUserRecordsboolean-If true, events on all record types (posts, lists, profile etc.) owned by the did are returned
limitinteger--
hasCommentboolean-If true, only events with comments are returned
commentstring-If specified, only events with comments containing the keyword are returned
addedLabelsarray--
removedLabelsarray--
addedTagsarray--
removedTagsarray--
reportTypesarray--
cursorstring--

Output

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
cursorstring--
eventsarray of tools.ozone.moderation.defs#modEventView--