tools.ozone.moderation.queryStatuses
#main
View moderation statuses of subjects (record or repo).
Parameters
Property | Type | Known Values | Required | Description |
---|---|---|---|---|
includeAllUserRecords | boolean | - | ❌ | All subjects, or subjects from given 'collections' param, belonging to the account specified in the 'subject' param will be returned. |
subject | string (uri) | - | ❌ | The subject to get the status for. |
comment | string | - | ❌ | Search subjects by keyword from comments |
reportedAfter | string (datetime) | - | ❌ | Search subjects reported after a given timestamp |
reportedBefore | string (datetime) | - | ❌ | Search subjects reported before a given timestamp |
reviewedAfter | string (datetime) | - | ❌ | Search subjects reviewed after a given timestamp |
hostingDeletedAfter | string (datetime) | - | ❌ | Search subjects where the associated record/account was deleted after a given timestamp |
hostingDeletedBefore | string (datetime) | - | ❌ | Search subjects where the associated record/account was deleted before a given timestamp |
hostingUpdatedAfter | string (datetime) | - | ❌ | Search subjects where the associated record/account was updated after a given timestamp |
hostingUpdatedBefore | string (datetime) | - | ❌ | Search subjects where the associated record/account was updated before a given timestamp |
hostingStatuses | array | - | ❌ | - |
reviewedBefore | string (datetime) | - | ❌ | Search subjects reviewed before a given timestamp |
includeMuted | boolean | - | ❌ | By default, we don't include muted subjects in the results. Set this to true to include them. |
onlyMuted | boolean | - | ❌ | When set to true, only muted subjects and reporters will be returned. |
reviewState | string | - | ❌ | Specify when fetching subjects in a certain state |
ignoreSubjects | array of uri | - | ❌ | - |
lastReviewedBy | string (did) | - | ❌ | Get all subject statuses that were reviewed by a specific moderator |
sortField | string | - | ❌ | - |
sortDirection | string | - | ❌ | - |
takendown | boolean | - | ❌ | Get subjects that were taken down |
appealed | boolean | - | ❌ | Get subjects in unresolved appealed status |
limit | integer | - | ❌ | - |
tags | array | - | ❌ | - |
excludeTags | array | - | ❌ | - |
cursor | string | - | ❌ | - |
collections | array of nsid | - | ❌ | - |
subjectType | string | account 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
Property | Type | Known Values | Required | Description |
---|---|---|---|---|
cursor | string | - | ❌ | - |
subjectStatuses | array of tools.ozone.moderation.defs#subjectStatusView | - | ✅ | - |