Skip to main content

tools.ozone.moderation.searchRepos

GET 

/xrpc/tools.ozone.moderation.searchRepos

This endpoint is part of the Ozone moderation service APIs. Requests usually require authentication, are directed to the user's PDS intance, and proxied to the Ozone instance indicated by the DID in the service proxying header. Admin authenentication may also be possible, with request sent directly to the Ozone instance.

To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.

Find repositories based on a search term.

Request

Query Parameters

    q string
    limit integer

    Possible values: >= 1 and <= 100

    Default value: 50

    cursor string

Responses

OK

Schema

    cursor string

    repos

    object[]

    required

  • Array [

  • did didrequired
    handle handlerequired
    email string
    relatedRecords undefined[]required
    indexedAt date-timerequired

    moderation

    object

    required

    subjectStatus

    object

    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[]

    invitedBy

    object

    code stringrequired
    available integerrequired
    disabled booleanrequired
    forAccount stringrequired
    createdBy stringrequired
    createdAt date-timerequired

    uses

    object[]

    required

  • Array [

  • usedBy didrequired
    usedAt date-timerequired
  • ]

  • invitesDisabled boolean
    inviteNote string
    deactivatedAt date-time

    threatSignatures

    object[]

  • Array [

  • property stringrequired
    value stringrequired
  • ]

  • ]

Loading...