Skip to main content

tools.ozone.moderation.queryStatuses

GET 

tools.ozone.moderation.queryStatuses

View moderation statuses of subjects (record or repo).

Request

Query Parameters

    subject uri
    comment string

    Search subjects by keyword from comments

    reportedAfter date-time

    Search subjects reported after a given timestamp

    reportedBefore date-time

    Search subjects reported before a given timestamp

    reviewedAfter date-time

    Search subjects reviewed after a given timestamp

    reviewedBefore date-time

    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 uri[]
    lastReviewedBy did

    Get all subject statuses that were reviewed by a specific moderator

    sortField string

    Default value: lastReportedAt

    sortDirection string

    Default value: desc

    takendown boolean

    Get subjects that were taken down

    appealed boolean

    Get subjects in unresolved appealed status

    limit integer

    Possible values: >= 1 and <= 100

    Default value: 50

    tags string[]
    excludeTags string[]
    cursor string

Responses

OK

Schema

    cursor string

    subjectStatuses

    object[]

    required

  • Array [

  • id integerrequired

    subject

    object

    required

    oneOf

    did didrequired
    subjectBlobCids cid[]
    subjectRepoHandle string
    updatedAt date-timerequired

    Timestamp referencing when the last update was made to the moderation status of the subject

    createdAt date-timerequired

    Timestamp referencing the first moderation status impacting event was emitted on the subject

    reviewState tools.ozone.moderation.defs.subjectReviewStaterequired

    Possible values: [#reviewOpen, #reviewEscalated, #reviewClosed, #reviewNone]

    comment string

    Sticky comment on the subject.

    muteUntil date-time
    muteReportingUntil date-time
    lastReviewedBy did
    lastReviewedAt date-time
    lastReportedAt date-time
    lastAppealedAt date-time

    Timestamp referencing when the author of the subject appealed a moderation action

    takendown boolean
    appealed boolean

    True indicates that the a previously taken moderator action was appealed against, by the author of the content. False indicates last appeal was resolved by moderators.

    suspendUntil date-time
    tags string[]
  • ]

Loading...