Open martymcguire opened 1 year ago
Partially fulfills https://github.com/indieweb/microsub/issues/44
When method=tree is supplied to an action=channels GET request, a sources array will be included with each channel of the form:
method=tree
action=channels
sources
channel
{ "channels": [ { "sources": [ { "_id": 123, "url": "http://example.com/", "name": "Channel name" } ] } ] }
I haven't included info like per-source unread count or last-checked time. I basically only included "easy" information that was obvious in the DB schema.
No time pressure on this. Feel free to treat it as a discussion piece. :}
Partially fulfills https://github.com/indieweb/microsub/issues/44
When
method=tree
is supplied to anaction=channels
GET request, asources
array will be included with eachchannel
of the form:I haven't included info like per-source unread count or last-checked time. I basically only included "easy" information that was obvious in the DB schema.
No time pressure on this. Feel free to treat it as a discussion piece. :}