Package-level declarations

Types

Link copied to clipboard
data class BlobView(val cid: Cid, val mimeType: String, val size: Long, val createdAt: Timestamp, val details: BlobViewDetailsUnion? = null, val moderation: Moderation? = null)
Link copied to clipboard
Link copied to clipboard
data class EmitEventRequest(val event: EmitEventRequestEventUnion, val subject: EmitEventRequestSubjectUnion, val subjectBlobCids: ReadOnlyList<Cid> = persistentListOf(), val createdBy: Did)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class GetRecordQueryParams(val uri: AtUri, val cid: Cid? = null)
Link copied to clipboard
Link copied to clipboard
data class GetRepoQueryParams(val did: Did)
Link copied to clipboard
Link copied to clipboard
data class ImageDetails(val width: Long, val height: Long)
Link copied to clipboard
data class Moderation(val subjectStatus: SubjectStatusView? = null)
Link copied to clipboard
data class ModerationDetail(val subjectStatus: SubjectStatusView? = null)
Link copied to clipboard
data class ModEventAcknowledge(val comment: String? = null)
Link copied to clipboard
data class ModEventComment(val comment: String, val sticky: Boolean? = null)

Add a comment to a subject

Link copied to clipboard
data class ModEventDivert(val comment: String? = null)

Divert a record's blobs to a 3rd party service for further scanning/tagging

Link copied to clipboard
data class ModEventEmail(val subjectLine: String, val content: String? = null, val comment: String? = null)

Keep a log of outgoing email to a user

Link copied to clipboard
data class ModEventEscalate(val comment: String? = null)
Link copied to clipboard
data class ModEventLabel(val comment: String? = null, val createLabelVals: ReadOnlyList<String>, val negateLabelVals: ReadOnlyList<String>)

Apply/Negate labels on a subject

Link copied to clipboard
data class ModEventMute(val comment: String? = null, val durationInHours: Long)

Mute incoming reports on a subject

Link copied to clipboard
data class ModEventReport(val comment: String? = null, val reportType: Token)

Report a subject

Link copied to clipboard
data class ModEventResolveAppeal(val comment: String? = null)

Resolve appeal on a subject

Link copied to clipboard
data class ModEventReverseTakedown(val comment: String? = null)

Revert take down action on a subject

Link copied to clipboard
data class ModEventTag(val add: ReadOnlyList<String>, val remove: ReadOnlyList<String>, val comment: String? = null)

Add/Remove a tag on a subject

Link copied to clipboard
data class ModEventTakedown(val comment: String? = null, val durationInHours: Long? = null)

Take down a subject permanently or temporarily

Link copied to clipboard
data class ModEventUnmute(val comment: String? = null)

Unmute action on a subject

Link copied to clipboard
data class ModEventView(val id: Long, val event: ModEventViewEventUnion, val subject: ModEventViewSubjectUnion, val subjectBlobCids: ReadOnlyList<String>, val createdBy: Did, val createdAt: Timestamp, val creatorHandle: String? = null, val subjectHandle: String? = null)
Link copied to clipboard
data class ModEventViewDetail(val id: Long, val event: ModEventViewDetailEventUnion, val subject: ModEventViewDetailSubjectUnion, val subjectBlobs: ReadOnlyList<BlobView>, val createdBy: Did, val createdAt: Timestamp)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class QueryEventsQueryParams(val types: ReadOnlyList<String> = persistentListOf(), val createdBy: Did? = null, val sortDirection: String? = "desc", val createdAfter: Timestamp? = null, val createdBefore: Timestamp? = null, val subject: Uri? = null, val includeAllUserRecords: Boolean? = false, val limit: Long? = 50, val hasComment: Boolean? = null, val comment: String? = null, val addedLabels: ReadOnlyList<String> = persistentListOf(), val removedLabels: ReadOnlyList<String> = persistentListOf(), val addedTags: ReadOnlyList<String> = persistentListOf(), val removedTags: ReadOnlyList<String> = persistentListOf(), val reportTypes: ReadOnlyList<String> = persistentListOf(), val cursor: String? = null)
Link copied to clipboard
data class QueryEventsResponse(val cursor: String? = null, val events: ReadOnlyList<ModEventView>)
Link copied to clipboard
data class QueryStatusesQueryParams(val subject: Uri? = null, val comment: String? = null, val reportedAfter: Timestamp? = null, val reportedBefore: Timestamp? = null, val reviewedAfter: Timestamp? = null, val reviewedBefore: Timestamp? = null, val includeMuted: Boolean? = null, val reviewState: String? = null, val ignoreSubjects: ReadOnlyList<Uri> = persistentListOf(), val lastReviewedBy: Did? = null, val sortField: String? = "lastReportedAt", val sortDirection: String? = "desc", val takendown: Boolean? = null, val appealed: Boolean? = null, val limit: Long? = 50, val tags: ReadOnlyList<String> = persistentListOf(), val excludeTags: ReadOnlyList<String> = persistentListOf(), val cursor: String? = null)
Link copied to clipboard
data class QueryStatusesResponse(val cursor: String? = null, val subjectStatuses: ReadOnlyList<SubjectStatusView>)
Link copied to clipboard
data class RecordView(val uri: AtUri, val cid: Cid, val value: JsonContent, val blobCids: ReadOnlyList<Cid>, val indexedAt: Timestamp, val moderation: Moderation, val repo: RepoView)
Link copied to clipboard
data class RecordViewDetail(val uri: AtUri, val cid: Cid, val value: JsonContent, val blobs: ReadOnlyList<BlobView>, val labels: ReadOnlyList<Label> = persistentListOf(), val indexedAt: Timestamp, val moderation: ModerationDetail, val repo: RepoView)
Link copied to clipboard
Link copied to clipboard
data class RepoView(val did: Did, val handle: Handle, val email: String? = null, val relatedRecords: ReadOnlyList<JsonContent>, val indexedAt: Timestamp, val moderation: Moderation, val invitedBy: InviteCode? = null, val invitesDisabled: Boolean? = null, val inviteNote: String? = null)
Link copied to clipboard
data class RepoViewDetail(val did: Did, val handle: Handle, val email: String? = null, val relatedRecords: ReadOnlyList<JsonContent>, val indexedAt: Timestamp, val moderation: ModerationDetail, val labels: ReadOnlyList<Label> = persistentListOf(), val invitedBy: InviteCode? = null, val invites: ReadOnlyList<InviteCode> = persistentListOf(), val invitesDisabled: Boolean? = null, val inviteNote: String? = null, val emailConfirmedAt: Timestamp? = null)
Link copied to clipboard
data class RepoViewNotFound(val did: Did)
Link copied to clipboard
data class SearchReposQueryParams(val term: String? = null, val q: String? = null, val limit: Long? = 50, val cursor: String? = null)
Link copied to clipboard
data class SearchReposResponse(val cursor: String? = null, val repos: ReadOnlyList<RepoView>)
Link copied to clipboard
data class SubjectStatusView(val id: Long, val subject: SubjectStatusViewSubjectUnion, val subjectBlobCids: ReadOnlyList<Cid> = persistentListOf(), val subjectRepoHandle: String? = null, val updatedAt: Timestamp, val createdAt: Timestamp, val reviewState: Token, val comment: String? = null, val muteUntil: Timestamp? = null, val lastReviewedBy: Did? = null, val lastReviewedAt: Timestamp? = null, val lastReportedAt: Timestamp? = null, val lastAppealedAt: Timestamp? = null, val takendown: Boolean? = null, val appealed: Boolean? = null, val suspendUntil: Timestamp? = null, val tags: ReadOnlyList<String> = persistentListOf())
Link copied to clipboard
enum Token : Enum<Token>
Link copied to clipboard
data class VideoDetails(val width: Long, val height: Long, val length: Long)