#social 2023-06-16

2023-06-16 UTC
vt and Justus joined the channel
#
Justus
Hey, I've been playing a bit with the AP protocol by directly polling servers, and I'm a bit stuck as to how you're supposed to discover stuff on the target server? Is there an index of sorts?
#
Justus
are we just magically supposed to know what to access? I'm struggling to understand AP from a users perspective here. There's a path for a user to interact with an instance, and for an instance to interact with an instance. But there are no discovery or search mechanisms. Am I missing something here?
#
Justus
ok, I've been headbutting against this for a while now. Let's say all I have is the hostname and that it supports ActivityPub. What am I supposed to do as per protocol to give any kind of useful information to the user about this instance?
#
Justus
Side Note: request("GET", 'https://mastodon.social/', headers={"Accept": "application/activity+json"}) returns error 406, while doing the same with a lemmy instance like beehaw.org will yield at least a barebones description of the instance, and I can't actually tell which of the two, if any, is correct
ajordan joined the channel