Anyone out there in #ActivityPub land that can point me to a real-world payload with the "streams" property?
-
@mariusor looking to survey what folks took to be the type of that property in practice (given the sparse docs)
Your example is great - what is federated.id?
Do you know of any other server software that implements "streams"?
-
> Do you know of any other server software
@js nope sorry.
Federatd.id is a demo instance for my software called FedBOX: https://github.com/go-ap/fedbox
-
@[email protected] given the word
list
I would imagine it would be an Array. Something iterable.Theoretically, one could use it to display a things like "notes a user liked", "notes this user shared", etc.
-
@mariusor very cool!
heads up that in your /objects collection, "likes" is not a valid AP property, so you'll want to include that as an extension in the local context (or find one that the community has already proposed/standardized on?)
-
@julian this is why I'd love to see it somewhere in action - to see what others have imagined, and deployed
in my mind, it would be one or more IRI | Collection (ie "functional: false")
the fact that they have no names is kind of weird ("here's a random list of collections") - but not the first kind of weird thing in AP land
-
@[email protected] that's the thing, it's vague so as to be almost directionless, so at best it can be used between instances of the same software, or that impl. can become a pseudo standard usage of the property.
Not ideal but the AP writers couldn't have thought of everything!
-
@julian @js This wiki page contains some additional information: https://www.w3.org/wiki/ActivityPub/Primer/Streams
It says developers should use extension properties instead, and I agree with that.
-
santisbonreplied to julian on last edited by [email protected]
@julian @js it's a generic array of
Collection
orOrderedCollection
objects. For an implementation it could be an array where each item (itself a collection) is a photo album, or your stories, or your contacts list; anything, really. It is indeed very vague on purpose, which has its drawbacks.
I don't have an example of anyone using it in the wild but that should give you a good idea. -
@js I think you're wrong: https://www.w3.org/TR/activitypub/#likes
I'm an old hand at this, you can not befuddle me.
-
-
@mariusor you're right!
you pass the test
-
thanks for the link!
I read that as developers should use extension properties _and_ include them in the streams collection
still looking for actual deployments of "streams" though - only have one so far
-
thanks! I'm looking for implementations specifically - something to point software to, not an idea
-
-
@Brahn I award no points! Looking for a real-world server that has actually implemented it.
So far found only one
-
@Brahn Also there is no example of the "streams" property in that doc. Negative points! : )
the property is actually named "streams": https://www.w3.org/ns/activitystreams#streams