How/where to use com.atproto.sync.listRepos
?
#3221
Replies: 2 comments
-
The failure of the Bluesky relay is due to the update of the relay. (ref. #3036) The entryway passes all APIs except the authentication to the PDS, so although it is not intuitive, it is the correct behavior. Authentication is required to determine which PDS to forward the request to. The comprehensive discovery of PDS is an unresolved issue, but an informal list of volunteers can be used as a tentative approach. |
Beta Was this translation helpful? Give feedback.
-
This is basically a bug right now. We intend to support this endpoint at |
Beta Was this translation helpful? Give feedback.
-
Note that I am very new to atproto/bsky ecosystem so please correct me when I say something that does not make sense!
The docs mention that:
According to the API Hosts and Auth section the relay is
https://bsky.network
and the PDS instances are in the form ofhttps://<NAME>.<REGION>.host.bsky.network
. So as far as I understand I´d have to make a GET request tohttps://bsky.network/xrpc/com.atproto.sync.listRepos
, but this returns:Using
https://bsky.social
as the base URL (listed as "Entryway" in the docs) instead ofbsky.network
does return a result as expected, but only when authenticated. But even going through all of these using the cursor it misses some repos. After some digging it seems to return the results of calling listRepos against the PDS of my account. Swapping in a PDS as base URL as in the form mentioned earlier (eg.enoki.us-east.host.bsky.network
, a different one than my PDS, which I can access without auth in contrast tohttps://bsky.social
) gives different repos, as expected ifhttps://bsky.social
only gives the ones from mine.It seems strange to me that
https://bsky.network
does not work (especially as I can find earlier discussions on here where this is used), and thathttps://bsky.social
returns results for one specific PDS in quite an opaque way (you need to resolve the DIDs to figure this out as nothing in the response indicates this). A potentially slightly off-topic question, how would one find out the PDS instances available?Beta Was this translation helpful? Give feedback.
All reactions