Would the following be a workable way to make EventSource discoverable?
HTTP/1.1 200 OK
Content-Type: application/vnd.api+json
{
"meta":{
"about":"entrypoint to the EventSource streams"
}
"links":{
"self":"/notebook/feed/stream",
"related":[
{
"href":"/notebook/feed/stream/book",
"meta":{
"about":"EventSource emitter"
"channel":[
{
"eventsource":"notebook",
"about":"all notes across all book"
},
{
"eventsource":"notebook:garden",
"about":"all garden notes"
},
{
"eventsource":"notebook:brew",
"about":"brew log"
},
{
"eventsource":"notebook:recipe",
"about":"notes on recipe development"
}
]
}
}
]
}
}