Skip to content

Request for Unread and Saved Item IDs Like Fever API #2194

@AiraNadih

Description

@AiraNadih

Here's the Fever API's unread and saved item IDs:

## Sync

The `unread_item_ids` and `saved_item_ids` arguments can be used to keep your local cache synced with the remote Fever installation.

---
http://yourdomain.com/fever/?api&unread_item_ids
---

A request with the `unread_item_ids` argument will return one additional member:

-   `unread_item_ids` (string/comma-separated list of positive integers)
    

---
http://yourdomain.com/fever/?api&saved_item_ids
---

A request with the `saved_item_ids` argument will return one additional member:

-   `saved_item_ids` (string/comma-separated list of positive integers)

One of these members will be returned as appropriate when marking an item as read, unread, saved, or unsaved and when marking a feed or group as read.

Because groups and feeds will be limited in number compared to items, they should be synced by comparing an array of locally cached feed or group ids to an array of feed or group ids returned by their respective API request.

This feature can reduce the number of requests and resource consumption while synchronizing between the client and server, improving synchronization efficiency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions