#social 2019-07-01

2019-07-01 UTC
Guest84, vitalyster, xmpp-social, Loqi, cwebber2, bralyclow, dlongley and parhot joined the channel; vitalyster left the channel
#
parhot
hi, where are endpoints defined in the "spec"?
#
parhot
is there some kind of definition what to req?
#
nightpool[m]
parhot: what do you mean by endpoints?
#
parhot
nightpool[m], hmm, like, i didnt get what URI/URL (?) should i request to get the data specified
#
nightpool[m]
depends on what you have
#
nightpool[m]
actors are identified by URI
#
nightpool[m]
once you have an actor, you get everything else through links from that actor
#
nightpool[m]
or from getting it pushed into your inbox
#
parhot
right
#
parhot
nightpool[m], now, how do i know what should i request?
#
parhot
like, if there's some scheme for that?
#
parhot
that's my biggest concern tbh
#
nightpool[m]
I'm still a little confused. what do you mean? you http GET the actor
#
nightpool[m]
maybe if would help if you explained what you're trying to do?
#
parhot
lets say i want to create my own AP impl., how do i know what URI do i have to GET req. to retv. the actor?
#
parhot
i mean like, mastodon seems to have this thing under /@<user>.json
#
nightpool[m]
you have to know what actor you're looking for
#
nightpool[m]
i.e., someone pastes a URL into your application or clicks a link on a website or something
#
parhot
isnt actor identified by username@hostname ?
#
nightpool[m]
Mastodon has webfinger to go from (username, domain) -> URL but that's not part of the AP spec
#
nightpool[m]
it's an extension we have for compatibility with OStatus and making things a little bit more human readable, but it has trade offs
#
parhot
oh
#
parhot
this's a bit more complicated than i thought then .w.
#
parhot
thanks
vitalyster left the channel