Latch. Public
(latch v0.9.0)
Copy Markdown
A non-authenticated companion for the Latch module.
Summary
Functions
Makes unauthenticated requests against any XRPC compatible server, including PDSs and Slingshot.
Functions
@spec query(Latch.name(), String.t(), String.t(), keyword()) :: {:ok, map()} | {:error, Latch.Error.Transport.t() | Latch.Error.InvalidResponse.t()}
Makes unauthenticated requests against any XRPC compatible server, including PDSs and Slingshot.
Example
iex> Latch.Public.query(MyApp.Latch, "https://slingshot.cove.town", "com.atproto.repo.getRecord", params: [repo: "did:plc:abc123", collection: "app.bsky.feed.post", rkey: "3k2..."])