RepoService

class RepoService(client: <Error class: unknown class>)

Constructors

Link copied to clipboard
constructor(client: <Error class: unknown class>)

Functions

Link copied to clipboard

Apply a batch transaction of repository creates, updates, and deletes. Requires auth, implemented by PDS.

Link copied to clipboard

Create a single new repository record. Requires auth, implemented by PDS.

Link copied to clipboard

Delete a repository record, or ensure it doesn't exist. Requires auth, implemented by PDS.

Link copied to clipboard

Get information about an account and repository, including the list of collections. Does not require auth.

Link copied to clipboard

Get a single record from a repository. Does not require auth.

Link copied to clipboard

List a range of records in a repository, matching a specific collection. Does not require auth.

Link copied to clipboard
fun RepoService.listRecordsFlow(request: ListRecordsRequest): <Error class: unknown class><ListRecordsRecord>

List a range of records in a repository, matching a specific collection. Does not require auth.

Link copied to clipboard
fun RepoService.listRecordsPageFlow(request: ListRecordsRequest): <Error class: unknown class><List<ListRecordsRecord>>

List a range of records in a repository, matching a specific collection. Does not require auth.

Link copied to clipboard

Write a repository record, creating or updating it as needed. Requires auth, implemented by PDS.

Link copied to clipboard

Upload a new blob, to be referenced from a repository record. The blob will be deleted if it is not referenced within a time window (eg, minutes). Blob restrictions (mimetype, size, etc) are enforced when the reference is created. Requires auth, implemented by PDS.