Skip to main content

tools.ozone.moderation.queryStatuses

#main

View moderation statuses of subjects (record or repo).

Parameters

PropertyTypeKnown ValuesRequiredDescription
includeAllUserRecordsboolean-All subjects, or subjects from given 'collections' param, belonging to the account specified in the 'subject' param will be returned.
subjectstring (uri)-The subject to get the status for.
commentstring-Search subjects by keyword from comments
reportedAfterstring (datetime)-Search subjects reported after a given timestamp
reportedBeforestring (datetime)-Search subjects reported before a given timestamp
reviewedAfterstring (datetime)-Search subjects reviewed after a given timestamp
hostingDeletedAfterstring (datetime)-Search subjects where the associated record/account was deleted after a given timestamp
hostingDeletedBeforestring (datetime)-Search subjects where the associated record/account was deleted before a given timestamp
hostingUpdatedAfterstring (datetime)-Search subjects where the associated record/account was updated after a given timestamp
hostingUpdatedBeforestring (datetime)-Search subjects where the associated record/account was updated before a given timestamp
hostingStatusesarray--
reviewedBeforestring (datetime)-Search subjects reviewed before a given timestamp
includeMutedboolean-By default, we don't include muted subjects in the results. Set this to true to include them.
onlyMutedboolean-When set to true, only muted subjects and reporters will be returned.
reviewStatestring-Specify when fetching subjects in a certain state
ignoreSubjectsarray of uri--
lastReviewedBystring (did)-Get all subject statuses that were reviewed by a specific moderator
sortFieldstring--
sortDirectionstring--
takendownboolean-Get subjects that were taken down
appealedboolean-Get subjects in unresolved appealed status
limitinteger--
tagsarray--
excludeTagsarray--
cursorstring--
collectionsarray of nsid--
subjectTypestringaccount
record
If specified, subjects of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.

Output

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