Feed
is used to represent a specific feed within a stream. As mentioned before, there are multiple feeds per stream and these feeds are used to provide data to different nodes within the service.
The Feed
model conveys if the corresponding feed is active and what stream that it belongs to.
Field | Description |
---|---|
accountId | The account ID of the user that owns the feed and stream |
started | The date when the feed started |
active | A boolean indicating if the feed is active |
ended | The date when the feed ended |
name | The name of the stream that this feed belongs to |
streamId | The stream ID of the stream that this feed belongs to |
Example
An example of how a query with this model can be made, finding the number of active feeds.
{
feedCount (filter: {
active: true
})
}