···1515/// Documentation: [xrpc/com.atproto.server](https://endpoints.bsky.app/#bluesky-app/tag/comatprotoserver)
1616const com_atproto_server = "xrpc/com.atproto.server"
17171818-/// PLC stands for "Public Ledger of Credentials"
1919-/// Resolves a DID Document from the plc.directory
1818+/// Resolves a DID Document from the plc.directory,
1919+/// this returns information about a Decentralized Identifier (DID),
2020+/// including their handle and service endpoint.
2021///
2121-/// This returns information about a Decentralized Identifier (DID),
2222-/// including their handle and their service endpoint.
2222+/// AT Protocol uses Decentralized Identifiers (DIDs) as persistent account
2323+/// identifiers. PLC stands for "Public Ledger of Credentials".
2324///
2425/// ## Examples
2526///
···3334/// request.new()
3435/// |> possum.resolve_did_document(did)
3536/// ```
3737+///
3838+/// Documentation: [AT Protocol DIDs](https://atproto.com/specs/did)
3639pub fn resolve_did_document(
3740 request: request.Request(_),
3841 did: String,
···4649/// Resolves an atproto handle (hostname) to a DID.
4750/// Does not necessarily bi-directionally verify against the the DID document.
4851///
5252+/// DIDs are the long-term persistent identifiers for accounts in atproto,
5353+/// but they can be opaque and unfriendly for human use.
5454+/// Handles are mutable and human-friendly account usernames,
5555+/// in the form of a DNS hostname. For example, user.example.com.
5656+/// Handles must be bi-directionally linked to a DID: the DID document must claim
5757+/// the handle, and the handle must resolve to the DID identifier.
5858+///
5959+/// Two methods of resolving handles to DID are supported: one using
6060+/// TXT DNS records, and the other using an HTTPS /.well-known/ URL path.
6161+///
4962/// ## Examples
5063///
5164/// ```gleam
···5871/// |> possum.resolve_handle("kacaii.dev")
5972/// ```
6073///
6161-/// Documentation: [/xrpc/com.atproto.identity.resolveHandle](https://endpoints.bsky.app/#bluesky-app/tag/comatprotoidentity/GET/xrpc/com.atproto.identity.resolveHandle)
7474+/// Endpoint Docs: [/xrpc/com.atproto.identity.resolveHandle](https://endpoints.bsky.app/#bluesky-app/tag/comatprotoidentity/GET/xrpc/com.atproto.identity.resolveHandle)
6275pub fn resolve_handle(
6376 request: request.Request(_),
6477 handle: String,
···89102/// )
90103/// ```
91104///
9292-/// Documentation: [/xrpc/com.atproto.server.createSession](https://endpoints.bsky.app/#bluesky-app/tag/comatprotoserver/POST/xrpc/com.atproto.server.createSession)
105105+/// Endpoint Docs: [/xrpc/com.atproto.server.createSession](https://endpoints.bsky.app/#bluesky-app/tag/comatprotoserver/POST/xrpc/com.atproto.server.createSession)
93106pub fn create_session(
94107 request: request.Request(_),
95108 did: String,
···140153/// |> possum.refresh_session("refresh-token")
141154/// ```
142155///
143143-/// Documentation: [/xrpc/com.atproto.server.refreshSession](https://endpoints.bsky.app/#bluesky-app/tag/comatprotoserver/POST/xrpc/com.atproto.server.refreshSession)
156156+/// Endpoint Docs: [/xrpc/com.atproto.server.refreshSession](https://endpoints.bsky.app/#bluesky-app/tag/comatprotoserver/POST/xrpc/com.atproto.server.refreshSession)
144157pub fn refresh_session(
145158 request: request.Request(_),
146159 refresh token: String,
···167180/// |> possum.get_session_info
168181/// ```
169182///
170170-/// Documentation: [/xrpc/com.atproto.server.getSession](https://endpoints.bsky.app/#bluesky-app/tag/comatprotoserver/POST/xrpc/com.atproto.server.getSession)
183183+/// Endpoint Docs: [/xrpc/com.atproto.server.getSession](https://endpoints.bsky.app/#bluesky-app/tag/comatprotoserver/POST/xrpc/com.atproto.server.getSession)
171184pub fn get_session_info(request: request.Request(_)) -> request.Request(_) {
172185 request
173186 |> request.set_method(http.Get)
···210223/// |> possum.describe_repository("kacaii.dev")
211224/// ```
212225///
213213-/// Documentation: [/xrpc/com.atproto.repo.describeRepo](https://endpoints.bsky.app/#bluesky-app/tag/comatprotorepo/GET/xrpc/com.atproto.repo.describeRepo)
226226+/// Endpoint Docs: [/xrpc/com.atproto.repo.describeRepo](https://endpoints.bsky.app/#bluesky-app/tag/comatprotorepo/GET/xrpc/com.atproto.repo.describeRepo)
214227pub fn describe_repository(
215228 request: request.Request(_),
216229 did: String,
···222235}
223236224237/// Get a single record from a repository.
238238+///
239239+/// A **record key** (rkey) is used to name and reference an individual record
240240+/// withing the same collection of an repository.
225241///
226242/// ```gleam
227243/// import gleam/http/request
···239255/// )
240256/// ```
241257///
242242-/// Documentation: [/xrpc/com.atproto.repo.getRecord](https://endpoints.bsky.app/#bluesky-app/tag/comatprotorepo/GET/xrpc/com.atproto.repo.getRecord)
258258+/// Endpoint Docs: [/xrpc/com.atproto.repo.getRecord](https://endpoints.bsky.app/#bluesky-app/tag/comatprotorepo/GET/xrpc/com.atproto.repo.getRecord)
259259+/// Documentation: [atproto.com](https://atproto.com/specs/record-key)
243260pub fn get_record(
244261 request: request.Request(_),
245262 did: String,
···284301/// )
285302/// ```
286303///
287287-/// Documentation: [/xrpc/com.atproto.repo.listRecords](https://endpoints.bsky.app/#bluesky-app/tag/comatprotorepo/GET/xrpc/com.atproto.repo.listRecords)
304304+/// Endpoint Docs: [/xrpc/com.atproto.repo.listRecords](https://endpoints.bsky.app/#bluesky-app/tag/comatprotorepo/GET/xrpc/com.atproto.repo.listRecords)
288305pub fn list_records(
289306 request: request.Request(_),
290307 did: String,
···321338322339/// List published articles, blog posts and other content.
323340///
341341+/// The site.standard.document lexicon provides metadata for individual documents.
342342+/// Including the document's relation to a publication if applicable,
343343+/// a path to the document, and more information like a document's complete contents.
344344+///
324345/// ## Examples
325346///
326347/// ```gleam
···332353/// |> request.set_host("service-endpoint")
333354/// |> possum.list_standard_documents("kacaii.dev", option.None)
334355/// ```
356356+///
357357+/// Documentation: [standard.site](https://standard.site/)
335358pub fn list_standard_documents(
336359 request: request.Request(_),
337360 did: String,