Liking cljdoc? Tell your friends :D

dk.simongray.podcast.comments.atproto

Threads of comments on the AT Protocol, the protocol of Bluesky, read from an AppView.

An AppView indexes the network. It gives the thread below a post in one call, app.bsky.feed.getPostThread, without an account. The labels that the protocol defines apply:

  • a reply whose author asks apps to show it only to signed-in users is left out
  • a reply that a moderation service hid is left out
  • a reply with a warning is :sensitive?
  • a reply that the author of the root post hid is :hidden?

A thread starts at the at URI of a post, or at the URL of its page on Bluesky's web app. Each comment and each author has the :url of its page there, and post-url and profile-url give the page on another web app.

Threads of comments on the AT Protocol, the protocol of Bluesky, read
from an AppView.

An AppView indexes the network. It gives the thread below a post in one
call, app.bsky.feed.getPostThread, without an account. The labels that
the protocol defines apply:

- a reply whose author asks apps to show it only to signed-in users is
  left out
- a reply that a moderation service hid is left out
- a reply with a warning is :sensitive?
- a reply that the author of the root post hid is :hidden?

A thread starts at the at URI of a post, or at the URL of its page on
Bluesky's web app. Each comment and each author has the :url of its page
there, and post-url and profile-url give the page on another web app.
raw docstring

at-uriclj/s

(at-uri s)

The parts of the at URI s as a map of :authority, :collection and :rkey, or nil for another string.

An at URI has the form at://authority/collection/rkey. The authority is the DID or the handle of a repository, and the rkey is the record key.

The parts of the at URI `s` as a map of :authority, :collection and
:rkey, or nil for another string.

An at URI has the form at://authority/collection/rkey. The authority is
the DID or the handle of a repository, and the rkey is the record key.
sourceraw docstring

post-uriclj/s

(post-uri s)

The at URI of the post that s names, or nil for another string.

The s is the at URI of a post, or the URL of its page on Bluesky's web app, https://bsky.app/profile/actor/post/rkey, whose actor is the handle or the DID of its author. An AppView reads an at URI with a handle, so the at URI of such a page has the actor as it is.

The at URI of the post that `s` names, or nil for another string.

The `s` is the at URI of a post, or the URL of its page on Bluesky's web
app, https://bsky.app/profile/actor/post/rkey, whose actor is the handle
or the DID of its author. An AppView reads an at URI with a handle, so
the at URI of such a page has the actor as it is.
sourceraw docstring

post-urlclj/s

(post-url uri)
(post-url uri opts)

The URL of the page of the post at the at URI uri on Bluesky's web app, or on the web app with the same paths at the :origin of opts. It's nil for another URI.

The URL of the page of the post at the at URI `uri` on Bluesky's web
app, or on the web app with the same paths at the :origin of `opts`.
It's nil for another URI.
sourceraw docstring

profile-urlclj/s

(profile-url actor)
(profile-url actor {:keys [origin] :or {origin web-origin} :as opts})

The URL of the page of the actor, a DID or a handle, on Bluesky's web app, or on the web app with the same paths at the :origin of opts. It's nil for another string.

The URL of the page of the `actor`, a DID or a handle, on Bluesky's web
app, or on the web app with the same paths at the :origin of `opts`.
It's nil for another string.
sourceraw docstring

web-originclj/s

The origin of Bluesky's web app, whose links to posts name threads, and whose pages are the :url of each comment and author.

The origin of Bluesky's web app, whose links to posts name threads, and
whose pages are the :url of each comment and author.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close