Package-level declarations

Types

Link copied to clipboard
data class GetBlobQueryParams(val did: Did, val cid: Cid)
Link copied to clipboard
data class GetBlocksQueryParams(val did: Did, val cids: ReadOnlyList<Cid>)
Link copied to clipboard
Link copied to clipboard
data class GetHeadQueryParams(val did: Did)
Link copied to clipboard
data class GetHeadResponse(val root: Cid)
Link copied to clipboard
Link copied to clipboard
data class GetLatestCommitResponse(val cid: Cid, val rev: String)
Link copied to clipboard
data class GetRecordQueryParams(val did: Did, val collection: Nsid, val rkey: String, val commit: Cid? = null)
Link copied to clipboard
data class GetRepoQueryParams(val did: Did, val since: String? = null)
Link copied to clipboard
data class ListBlobsQueryParams(val did: Did, val since: String? = null, val limit: Long? = 500, val cursor: String? = null)
Link copied to clipboard
data class ListBlobsResponse(val cursor: String? = null, val cids: ReadOnlyList<Cid>)
Link copied to clipboard
data class ListReposQueryParams(val limit: Long? = 500, val cursor: String? = null)
Link copied to clipboard
data class ListReposRepo(val did: Did, val head: Cid, val rev: String)
Link copied to clipboard
data class ListReposResponse(val cursor: String? = null, val repos: ReadOnlyList<ListReposRepo>)
Link copied to clipboard
data class NotifyOfUpdateRequest(val hostname: String)
Link copied to clipboard
data class RequestCrawlRequest(val hostname: String)
Link copied to clipboard
data class SubscribeReposCommit(val seq: Long, val rebase: Boolean, val tooBig: Boolean, val repo: Did, val commit: ByteArray, val prev: ByteArray? = null, val rev: String, val since: String? = null, val blocks: ByteArray, val ops: ReadOnlyList<SubscribeReposRepoOp>, val blobs: ReadOnlyList<ByteArray>, val time: Timestamp)

Represents an update of repository state. Note that empty commits are allowed, which include no repo data changes, but an update to rev and signature.

Link copied to clipboard
data class SubscribeReposHandle(val seq: Long, val did: Did, val handle: Handle, val time: Timestamp)

Represents an update of the account's handle, or transition to/from invalid state. NOTE: Will be deprecated in favor of #identity.

Link copied to clipboard
data class SubscribeReposIdentity(val seq: Long, val did: Did, val time: Timestamp)

Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache.

Link copied to clipboard
data class SubscribeReposInfo(val name: SubscribeReposName, val message: String? = null)
Link copied to clipboard
Link copied to clipboard
data class SubscribeReposMigrate(val seq: Long, val did: Did, val migrateTo: String? = null, val time: Timestamp)

Represents an account moving from one PDS instance to another. NOTE: not implemented; account migration uses #identity instead

Link copied to clipboard
data class SubscribeReposQueryParams(val cursor: Long? = null)
Link copied to clipboard
data class SubscribeReposRepoOp(val action: SubscribeReposAction, val path: String, val cid: ByteArray? = null)

A repo operation, ie a mutation of a single record.

Link copied to clipboard
data class SubscribeReposTombstone(val seq: Long, val did: Did, val time: Timestamp)

Indicates that an account has been deleted. NOTE: may be deprecated in favor of #identity or a future #account event