#social 2016-06-15

2016-06-15 UTC
shepazu_, jasnell, bblfish, bblfish_, jasnell_, pdurbin, peacekeeper and KevinMarks joined the channel
#
cwebber2
the thing I like least about ActivityStreams is the use of mixedCase for property names ;)
#
cwebber2
lower-dashed or lower_under forever! :)
peacekeeper and KevinMarks2 joined the channel
#
cwebber2
tsyesika: ping
#
cwebber2
tsyesika: so, I'm updating the binary file upload stuff to reference https://github.com/w3c-social/activitypub/issues/23
#
cwebber2
er, to handle what was discussed there
#
cwebber2
originally, the text about uploading stuff vaguely said "upload to the file endpoint"
#
cwebber2
however we hadn't specified a file endpoint on the profile object, so I'm adding one
#
cwebber2
the question is, what should the field be called?
#
aaronpk
fileEndpoint ;-)
#
cwebber2
should it be "file"? That doesn't seem clear that it's an endpoint. micropub does media-endpoint
#
cwebber2
however none of our other urls, which are endpoints in a sense, say "endpoint"
#
tsyesika
hm right
#
aaronpk
"bucket" since it's a place to put things
#
cwebber2
aaronpk: yes I was hoping for your input too :)
#
cwebber2
aaronpk: :P
#
tsyesika
uh not bucket
#
cwebber2
fileBucket???
#
aaronpk
where are your other endpoints defined?
#
tsyesika
*number
#
aaronpk
ah there we go
#
cwebber2
so we could do be mediaEndpoint to be consistent with MicroPub
#
aaronpk
"inbox" "outbox" "filebox"
#
cwebber2
but again, it looks odd becuse we don't have "fooEndpoint" for anything else
#
cwebber2
but then again
#
cwebber2
oh hm, filebox is interesting
#
cwebber2
but it's not like the others
#
aaronpk
kind of like bucket
#
cwebber2
it's not a collection
#
cwebber2
indeed, it *is* unusual on that list
#
aaronpk
it's kind of a collection, it just can't be queried like a collection right?
#
cwebber2
so maybe *Endpoint is appropriate.
#
cwebber2
aaronpk: hm I don't think so. It's pretty much just an upload endpoint.
#
aaronpk
yeah i guess it does behave totally differently
#
aaronpk
so maybe endpoint is okay
#
cwebber2
tsyesika: so, ok to do mediaEndpoint?
#
cwebber2
does that sound sensible to you based on the above discussion?
bblfish joined the channel
#
tsyesika
could be, another solution could be to have a "endpoint" property which is just a mapping for more "endpointy things" (needs better phrasing)
#
tsyesika
{"endpoints": {"file": "https://..."}}
#
cwebber2
tsyesika: hm, I'm not a bit fan of that... we don't *have* any more endpoint'y things :)
#
cwebber2
I think we'd need an idea of more kinds of endpoints we'd need/want if we were to do that
#
tsyesika
it's true which is why i was waiting for other people to suggest better ideas heh
#
tsyesika
cwebber2: what about oauth endpoints and such
#
tsyesika
did we decide this was out of scope, i'm not sure, i'm sure we have other endpoints though?
#
aaronpk
also interesting that they both took an RPC style approach rather than using HTTP verbs
#
cwebber2
tsyesika: hm, oauth endpoints...
#
cwebber2
tsyesika: I need to think about that, or maybe even work on what it looks like in implementation :)
#
cwebber2
tsyesika: how about this
#
cwebber2
for now, I mark it as fileEndpoints, and make a note for myself to think about or open an issue about how oauth discovery is done
#
cwebber2
I'm admittedly a bit brain-fuzzy at the second about how that works. For some reason I thought we had solved it already
#
cwebber2
but maybe that's because the pump api uses .well-known and we don't.
tantek, peacekeeper, KevinMarks and KevinMarks2 joined the channel
#
tsyesika
cwebber2: well we mention "oauth2 with bearer token" but completely ignore how to get that, which for me is a problem, if a client doesn't know how to get a token because it's undefined, how will clients and servers talk to each other
#
tantek
hey Social Web WG, I updated https://www.w3.org/wiki/Socialwg#sched which had not been updated in a while with what has happened, and general expectations for moving forward. I think the changes should be uncontroversial reflections of the working group's work, but definitely speak up if you see anything unclear or contestable.
#
cwebber2
tsyesika: yes, I agree
#
tantek
worth capturing as an issue on gh
#
cwebber2
yeah I'm capturing the oauth endpoint thing as an issue
#
cwebber2
tsyesika: I'm warming up to your idea of "endpoints"
bblfish joined the channel
jasnell joined the channel
#
tsyesika
sounds good
bblfish, jasnell, jasnell_, Arnaud1, tantek, KevinMarks, peacekeeper, bblfish_ and shepazu joined the channel