pb.feeds
Fetch one page of a Packbase feed, including any pinned howls.
Call pb.feeds(id) with a feed name or pack ID to create a FeedHandle. This action does not fetch data. Call .fetch() to load a page.
Signatures
const : = .('universe:home')handle.fetch(options?): Fetch a feed page
Fires GET /feed/:id.
const = await .('universe:home').({
: 1,
: 'pack-uuid',
})
.(.)
.(.)
.(.)Built-in feed IDs include universe:home and gossip:network. A pack UUID also works when you want that pack's feed.
Options:
| Option | Type | Description |
|---|---|---|
page | number | Page number, starting at 1. |
includePinsFrom | string | Optional pack ID whose pins should be included in the feed. |
The response puts pinned howls in page.pins and standard items in page.data. A pinned howl can include meta.pin_expires_at if a moderator set an automatic expiration.
Returns: FeedPage