SyncService class final

Represents com.atproto.sync.* service.

Constructors

SyncService(ServiceContext _ctx)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

findBlob({required String did, required String cid}) Future<XRPCResponse<Uint8List>>
findBlobs({required String did, String? sinceCid, int? limit, String? cursor}) Future<XRPCResponse<BlobRefs>>
findLatestCommit({required String did}) Future<XRPCResponse<RepoLatestCommit>>
findRecord({required AtUri uri, String? commitCid}) Future<XRPCResponse<RepoCommit>>
findRepoBlocks({required String did, required List<String> commitCids}) Future<XRPCResponse<RepoBlocks>>
findRepoCommits({required String did, String? sinceCommitCid, ProgressStatus? progress}) Future<XRPCResponse<RepoCommits>>
findRepos({int? limit, String? cursor}) Future<XRPCResponse<Repos>>
getBlob({required String did, required String cid}) Future<XRPCResponse<Uint8List>>
https://atprotodart.com/docs/lexicons/com/atproto/sync/getBlob
getBlocks({required String did, required List<String> commitCids}) Future<XRPCResponse<RepoBlocks>>
https://atprotodart.com/docs/lexicons/com/atproto/sync/getBlocks
getLatestCommit({required String did}) Future<XRPCResponse<RepoLatestCommit>>
https://atprotodart.com/docs/lexicons/com/atproto/sync/getLatestCommit
getRecord({required AtUri uri, String? commitCid}) Future<XRPCResponse<RepoCommit>>
https://atprotodart.com/docs/lexicons/com/atproto/sync/getRecord
getRepo({required String did, String? sinceCommitCid, ProgressStatus? progress}) Future<XRPCResponse<RepoCommits>>
https://atprotodart.com/docs/lexicons/com/atproto/sync/getRepo
listBlobs({required String did, String? sinceCid, int? limit, String? cursor}) Future<XRPCResponse<BlobRefs>>
https://atprotodart.com/docs/lexicons/com/atproto/sync/listBlobs
listRepos({int? limit, String? cursor}) Future<XRPCResponse<Repos>>
https://atprotodart.com/docs/lexicons/com/atproto/sync/listRepos
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyCrawlingServiceOfUpdate({required String hostname}) Future<XRPCResponse<EmptyData>>
notifyOfUpdate({required String hostname}) Future<XRPCResponse<EmptyData>>
https://atprotodart.com/docs/lexicons/com/atproto/sync/notifyOfUpdate
requestCrawl({required String hostname}) Future<XRPCResponse<EmptyData>>
https://atprotodart.com/docs/lexicons/com/atproto/sync/requestCrawl
subscribeRepos({int? cursor}) Future<XRPCResponse<Subscription<SubscribedRepo>>>
https://atprotodart.com/docs/lexicons/com/atproto/sync/subscribeRepos
subscribeRepoUpdates({int? cursor}) Future<XRPCResponse<Subscription<SubscribedRepo>>>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited